gradle
8.3

# BaseBinarySpec

@Incubating
open class BaseBinarySpec : AbstractBuildableComponentSpec, BinarySpecInternal

Base class that may be used for custom BinarySpec implementations. However, it is generally better to use an interface annotated with org.gradle.model.Managed and not use an implementation class at all.

## Constructors

BaseBinarySpec
Link copied to clipboard
constructor()

## Functions

builtBy
Link copied to clipboard
open fun builtBy(tasks: Array<Any>)
checkedBy
Link copied to clipboard
open fun checkedBy(tasks: Array<Any>)
create
Link copied to clipboard
open fun <T : BaseBinarySpec?> create(publicType: Class<out BinarySpec>, implementationType: Class<T>, componentId: ComponentSpecIdentifier, modelNode: MutableModelNode, @Nullable componentNode: MutableModelNode, instantiator: Instantiator, taskInstantiator: NamedEntityInstantiator<Task>, collectionCallbackActionDecorator: CollectionCallbackActionDecorator, domainObjectCollectionFactory: DomainObjectCollectionFactory): T
Creates a BaseBinarySpec.
getBuildAbility
Link copied to clipboard
fun getBuildAbility(): BinaryBuildAbility
getBuildDependencies
Link copied to clipboard
open fun getBuildDependencies(): TaskDependency
getComponent
Link copied to clipboard
@Nullable
open fun getComponent(): ComponentSpec
getDisplayName
Link copied to clipboard
open fun getDisplayName(): String
getId
Link copied to clipboard
open fun getId(): LibraryBinaryIdentifier
getInputs
Link copied to clipboard
open fun getInputs(): DomainObjectSet<LanguageSourceSet>
getName
Link copied to clipboard
open fun getName(): String
getNamingScheme
Link copied to clipboard
abstract fun getNamingScheme(): BinaryNamingScheme
getProjectPath
Link copied to clipboard
open fun getProjectPath(): String
getProjectScopedName
Link copied to clipboard
open fun getProjectScopedName(): String
getPublicType
Link copied to clipboard
abstract fun getPublicType(): Class<out BinarySpec>
getSources
Link copied to clipboard
open fun getSources(): ModelMap<LanguageSourceSet>
getTasks
Link copied to clipboard
abstract fun getTasks(): BinaryTasksCollection
hasBuildDependencies
Link copied to clipboard
open fun hasBuildDependencies(): Boolean
hasCodependentSources
Link copied to clipboard
open fun hasCodependentSources(): Boolean
isBuildable
Link copied to clipboard
fun isBuildable(): Boolean
isLegacyBinary
Link copied to clipboard
open fun isLegacyBinary(): Boolean
replaceSingleDirectory
Link copied to clipboard
open fun replaceSingleDirectory(dirs: Set<File>, dir: File)
setBuildable
Link copied to clipboard
open fun setBuildable(buildable: Boolean)
setNamingScheme
Link copied to clipboard
abstract fun setNamingScheme(namingScheme: BinaryNamingScheme)
toString
Link copied to clipboard
open fun toString(): String

## Properties

buildTask
Link copied to clipboard
open var buildTask: Task
checkTask
Link copied to clipboard
open var checkTask: Task
identifier
Link copied to clipboard
val identifier: ComponentSpecIdentifier
namingScheme
Link copied to clipboard
open var namingScheme: BinaryNamingScheme
publicType
Link copied to clipboard
val publicType: Class<out BinarySpec>
tasks
Link copied to clipboard
val tasks: BinaryTasksCollection