Interface JarBinarySpec
- All Superinterfaces:
Binary, BinarySpec, Buildable, BuildableComponentSpec, CheckableComponentSpec, ComponentSpec, JvmBinarySpec, LibraryBinarySpec, ModelElement, Named
Definition of a Jar file binary that is to be built by Gradle.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvides access to key tasks used for building the binary.Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionThe API jar file output for this binary.getId()The unique identifier of this JarBinarySpec.The jar file output for this binary.The library that this binary belongs to.getTasks()The set of tasks associated with this binary.voidsetApiJarFile(File jarFile) Sets the API jar file output for this binary.voidsetExportedPackages(Set<String> exportedPackages) voidsetJarFile(File jarFile) Sets the jar file output for this binary.Methods inherited from interface Binary
getDisplayNameMethods inherited from interface BinarySpec
getInputs, getSources, isBuildableMethods inherited from interface Buildable
getBuildDependenciesMethods inherited from interface BuildableComponentSpec
builtBy, getBuildTask, hasBuildDependencies, setBuildTaskMethods inherited from interface CheckableComponentSpec
checkedBy, getCheckTask, setCheckTaskMethods inherited from interface ComponentSpec
getProjectPathMethods inherited from interface JvmBinarySpec
getClassesDir, getResourcesDir, getTargetPlatform, getToolChain, setClassesDir, setResourcesDir, setTargetPlatform, setToolChainMethods inherited from interface ModelElement
getDisplayName, getName
-
Method Details
-
getTasks
JarBinarySpec.TasksCollection getTasks()The set of tasks associated with this binary.- Specified by:
getTasksin interfaceBinarySpec
-
getLibrary
JvmLibrarySpec getLibrary()The library that this binary belongs to.- Specified by:
getLibraryin interfaceLibraryBinarySpec
-
getId
LibraryBinaryIdentifier getId()The unique identifier of this JarBinarySpec. -
getJarFile
File getJarFile()The jar file output for this binary. -
setJarFile
Sets the jar file output for this binary. -
getApiJarFile
File getApiJarFile()The API jar file output for this binary. -
setApiJarFile
Sets the API jar file output for this binary. -
setExportedPackages
-
getExportedPackages
-