JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
all()
- Method in
ProtobufConfigurator.GenerateProtoTaskCollection
apply(Project)
- Method in
ProtobufPlugin
B
builtins(Closure)
- Method in
GenerateProtoTask
Configures the protoc builtins in a closure, which will be maniuplating a NamedDomainObjectContainer
.
C
compile()
- Method in
GenerateProtoTask
D
doneConfig()
- Method in
GenerateProtoTask
doneInitializing()
- Method in
GenerateProtoTask
E
ExecutableLocator
- Class in
com.google.protobuf.gradle
Locates an executable that can either be found locally or downloaded from repositories.
ExecutableLocator(String)
- Constructor in
ExecutableLocator
extract()
- Method in
ProtobufExtract
F
G
generateDescriptorSet
- Field in
GenerateProtoTask
If true, will set the protoc flag --descriptor_set_out="${outputBaseDir}/descriptor_set.desc"
generatedFilesBaseDir
- Field in
ProtobufConfigurator
The base directory of generated files.
GenerateProtoTask
- Class in
com.google.protobuf.gradle
The task that compiles proto files into Java files.
GenerateProtoTask.PluginOptions
- Class in
com.google.protobuf.gradle
The container of command-line options for a protoc plugin or a built-in output.
GenerateProtoTask.PluginOptions(String)
- Constructor in
GenerateProtoTask.PluginOptions
GenerateProtoTask()
- Constructor in
GenerateProtoTask
generateProtoTasks(Closure)
- Method in
ProtobufConfigurator
Configures the generateProto tasks in the given closure.
getAllOutputDirs()
- Method in
GenerateProtoTask
getArtifact()
- Method in
ExecutableLocator
getBuildType()
- Method in
GenerateProtoTask
getConfigName(String, String)
- Method in
Utils
Returns the conventional name of a configuration for a sourceSet
getFlavors()
- Method in
GenerateProtoTask
getGenerateProtoTasks()
- Method in
ProtobufConfigurator
Returns the collection of generateProto tasks.
getIsTestVariant()
- Method in
GenerateProtoTask
getName()
- Method in
ExecutableLocator
getName()
- Method in
GenerateProtoTask.PluginOptions
Returns the name of the plugin or builtin.
getOptions()
- Method in
GenerateProtoTask.PluginOptions
getOutputDir(GenerateProtoTask.PluginOptions)
- Method in
GenerateProtoTask
getOutputSubDir()
- Method in
GenerateProtoTask.PluginOptions
Returns the relative outputDir for this plugin.
getPath()
- Method in
ExecutableLocator
getSourceSet()
- Method in
GenerateProtoTask
getSourceSetSubstringForTaskNames(String)
- Method in
Utils
Returns the conventional substring that represents the sourceSet in task names, e.g., "generate
Proto"
getVariant()
- Method in
GenerateProtoTask
H
I
include(Object)
- Method in
GenerateProtoTask
Add a directory to protoc's include path.
isAndroidProject(Project)
- Method in
Utils
J
K
L
M
makeOptionsPrefix(List<String>)
- Method in
GenerateProtoTask
N
O
ofBuildType(String)
- Method in
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
ofFlavor(String)
- Method in
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
ofNonTest()
- Method in
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
ofSourceSet(String)
- Method in
ProtobufConfigurator.JavaGenerateProtoTaskCollection
ofTest()
- Method in
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
ofVariant(String)
- Method in
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
option(String)
- Method in
GenerateProtoTask.PluginOptions
Adds a plugin option.
P
plugins(Closure)
- Method in
GenerateProtoTask
Configures the protoc plugins in a closure, which will be maniuplating a NamedDomainObjectContainer
.
plugins(Closure)
- Method in
ProtobufConfigurator
Locate the codegen plugin executables.
protobuf(Closure)
- Method in
ProtobufConvention
ProtobufConfigurator
- Class in
com.google.protobuf.gradle
The main configuration block exposed as
protobuf
in the build script.
ProtobufConfigurator.AndroidGenerateProtoTaskCollection
- Class in
com.google.protobuf.gradle
ProtobufConfigurator.GenerateProtoTaskCollection
- Class in
com.google.protobuf.gradle
ProtobufConfigurator.JavaGenerateProtoTaskCollection
- Class in
com.google.protobuf.gradle
ProtobufConfigurator(Project, FileResolver)
- Constructor in
ProtobufConfigurator
ProtobufConvention
- Class in
com.google.protobuf.gradle
Adds the protobuf {} block as a property of the project.
ProtobufConvention(Project, FileResolver)
- Constructor in
ProtobufConvention
ProtobufExtract
- Class in
com.google.protobuf.gradle
Extracts proto files from a dependency configuration.
ProtobufPlugin
- Class in
com.google.protobuf.gradle
ProtobufPlugin(FileResolver)
- Constructor in
ProtobufPlugin
ProtobufSourceDirectorySet
- Class in
com.google.protobuf.gradle
The backing class of the proto extension added to sourceSets, e.g., sourceSets.main.proto
ProtobufSourceDirectorySet(Project, String, FileResolver)
- Constructor in
ProtobufSourceDirectorySet
protoc(Closure)
- Method in
ProtobufConfigurator
Locates the protoc executable.
Q
R
resolve(ExecutableLocator)
- Method in
ToolsLocator
runTaskConfigClosures()
- Method in
ProtobufConfigurator
S
setArtifact(String)
- Method in
ExecutableLocator
Specifies an artifact spec for downloading the executable from repositories. spec format: '
:
:
'
setBuildType(String)
- Method in
GenerateProtoTask
setFlavors(ImmutableList<String>)
- Method in
GenerateProtoTask
setOutputBaseDir(String)
- Method in
GenerateProtoTask
setOutputSubDir(String)
- Method in
GenerateProtoTask.PluginOptions
Set the output directory for this plugin, relative to
GenerateProtoTask.outputBaseDir
.
setPath(String)
- Method in
ExecutableLocator
Specifies a local path.
setSourceSet(SourceSet)
- Method in
GenerateProtoTask
setVariant(Object, boolean)
- Method in
GenerateProtoTask
T
ToolsLocator
- Class in
com.google.protobuf.gradle
Holds locations of all external executables, i.e., protoc and plugins.
ToolsLocator(Project)
- Constructor in
ToolsLocator
U
Utils
- Class in
com.google.protobuf.gradle
V
W
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation