plugin-base
1.9.0
jvm
plugin-base
/
io.spine.tools.gradle
/
ProtoPlugin
Proto
Plugin
public
abstract
class
ProtoPlugin
extends
SpinePlugin
A plugin performing code-generation based on a
.proto
files.
Members
Constructors
Proto
Plugin
Link copied to clipboard
public
void
ProtoPlugin
(
)
Functions
main
Descriptor
File
Link copied to clipboard
protected
abstract
Supplier
<
File
>
mainDescriptorFile
(
Project project
)
Obtains the descriptor set file for the main scope.
main
Proto
Files
Link copied to clipboard
protected
final
Supplier
<
FileSet
>
mainProtoFiles
(
Project project
)
Obtains
Protobuf
files for the main scope.
test
Descriptor
File
Link copied to clipboard
protected
abstract
Supplier
<
File
>
testDescriptorFile
(
Project project
)
Obtains the descriptor set file for the test scope.
test
Proto
Files
Link copied to clipboard
protected
final
Supplier
<
FileSet
>
testProtoFiles
(
Project project
)
Obtains
Protobuf
files for the test scope.
Inherited functions
log
Missing
Descriptor
Set
File
Link copied to clipboard
protected
void
logMissingDescriptorSetFile
(
File
setFile
)
new
Task
Link copied to clipboard
protected
GradleTask.Builder
newTask
(
TaskName
name
,
Action<Task> action
)
Create a new instance of
GradleTask.Builder
.
resolve
Link copied to clipboard
public
static
File
resolve
(
Supplier
<
String
>
path
)
Resolves an absolute file name obtained as a string from the passed supplier.