@Incubating public interface JarBinarySpec extends LibraryBinarySpec, JvmBinarySpec
Modifier and Type | Interface and Description |
---|---|
static interface |
JarBinarySpec.TasksCollection
Provides access to key tasks used for building the binary.
|
Named.Namer
Modifier and Type | Method and Description |
---|---|
File |
getApiJarFile()
The API jar file output for this binary.
|
Set<String> |
getExportedPackages() |
LibraryBinaryIdentifier |
getId()
The unique identifier of this JarBinarySpec.
|
File |
getJarFile()
The jar file output for this binary.
|
JvmLibrarySpec |
getLibrary()
The library that this binary belongs to.
|
JarBinarySpec.TasksCollection |
getTasks()
The set of tasks associated with this binary.
|
void |
setApiJarFile(File jarFile)
Sets the API jar file output for this binary.
|
void |
setExportedPackages(Set<String> exportedPackages) |
void |
setJarFile(File jarFile)
Sets the jar file output for this binary.
|
getClassesDir, getResourcesDir, getTargetPlatform, getToolChain, setClassesDir, setResourcesDir, setTargetPlatform, setToolChain
getInputs, getSources, isBuildable
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
getBuildDependencies
getDisplayName, getProjectPath
JarBinarySpec.TasksCollection getTasks()
getTasks
in interface BinarySpec
JvmLibrarySpec getLibrary()
getLibrary
in interface LibraryBinarySpec
LibraryBinaryIdentifier getId()
File getJarFile()
void setJarFile(File jarFile)
File getApiJarFile()
void setApiJarFile(File jarFile)