Binary
, BinarySpec
, Buildable
, BuildableComponentSpec
, CheckableComponentSpec
, ComponentSpec
, JvmBinarySpec
, LibraryBinarySpec
, ModelElement
, Named
@Incubating public interface JarBinarySpec extends LibraryBinarySpec, JvmBinarySpec
Modifier and Type | Interface | Description |
---|---|---|
static interface |
JarBinarySpec.TasksCollection |
Provides access to key tasks used for building the binary.
|
Named.Namer
Modifier and Type | Method | 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.
|
getDisplayName
getInputs, getSources, isBuildable
getBuildDependencies
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
checkedBy, getCheckTask, setCheckTask
getProjectPath
getClassesDir, getResourcesDir, getTargetPlatform, getToolChain, setClassesDir, setResourcesDir, setTargetPlatform, setToolChain
getDisplayName, getName
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)