ProtoPlugin

public abstract class ProtoPlugin extends SpinePlugin

A plugin performing code-generation based on a .proto files.

Constructors

Link copied to clipboard
public void ProtoPlugin()

Functions

Link copied to clipboard
protected abstract Supplier<File> mainDescriptorFile(Project project)
Obtains the descriptor set file for the main scope.
Link copied to clipboard
protected final Supplier<FileSet> mainProtoFiles(Project project)
Obtains Protobuf files for the main scope.
Link copied to clipboard
protected abstract Supplier<File> testDescriptorFile(Project project)
Obtains the descriptor set file for the test scope.
Link copied to clipboard
protected final Supplier<FileSet> testProtoFiles(Project project)
Obtains Protobuf files for the test scope.

Inherited functions

Link copied to clipboard
protected void logMissingDescriptorSetFile(File setFile)
Link copied to clipboard
protected GradleTask.Builder newTask(TaskName name, Action<Task> action)
Create a new instance of GradleTask.Builder.
Link copied to clipboard
public static File resolve(Supplier<String> path)
Resolves an absolute file name obtained as a string from the passed supplier.