public abstract class ProtoPlugin extends SpinePlugin
.proto
files.Supplier
s instead of direct values because at the time
of creation Gradle project is not fully evaluated, and the values
are not yet defined.Constructor and Description |
---|
ProtoPlugin() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.function.Supplier<java.io.File> |
mainDescriptorFile(org.gradle.api.Project project)
Obtains the descriptor set file for the main scope.
|
protected java.util.function.Supplier<io.spine.code.proto.FileSet> |
mainProtoFiles(org.gradle.api.Project project)
Obtains Protobuf files for the main scope.
|
protected abstract java.util.function.Supplier<java.io.File> |
testDescriptorFile(org.gradle.api.Project project)
Obtains the descriptor set file for the test scope.
|
protected java.util.function.Supplier<io.spine.code.proto.FileSet> |
testProtoFiles(org.gradle.api.Project project)
Obtains Protobuf files for the test scope.
|
logMissingDescriptorSetFile, newTask, resolve
protected final java.util.function.Supplier<io.spine.code.proto.FileSet> mainProtoFiles(org.gradle.api.Project project)
protected final java.util.function.Supplier<io.spine.code.proto.FileSet> testProtoFiles(org.gradle.api.Project project)
protected abstract java.util.function.Supplier<java.io.File> mainDescriptorFile(org.gradle.api.Project project)
protected abstract java.util.function.Supplier<java.io.File> testDescriptorFile(org.gradle.api.Project project)