ConsumableConfiguration

A Configuration which can be consumed via Publishing and Dependency Management.

Since

8.4

Functions

Link copied to clipboard
abstract fun addToAntBuilder(builder: Any, nodeName: String): Any
abstract fun addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType)
Link copied to clipboard
abstract fun attributes(action: Action<in AttributeContainer>): SELF
Link copied to clipboard
abstract fun contains(file: File): Boolean
Link copied to clipboard
abstract fun copy(): Configuration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun exclude(excludeProperties: Map<String, String>): Configuration
Link copied to clipboard
fun Configuration.exclude(group: String? = null, module: String? = null): Configuration

Adds an exclude rule to exclude transitive dependencies for all dependencies of this configuration. You can also add exclude rules per-dependency. See ModuleDependency.exclude.

Link copied to clipboard
abstract fun extendsFrom(superConfigs: Array<Configuration>): Configuration
Link copied to clipboard
abstract fun fileCollection(dependencySpec: Spec<in Dependency>): FileCollection
Link copied to clipboard
abstract fun files(dependencySpecClosure: Closure): Set<File>
Link copied to clipboard
abstract fun filter(filterClosure: Closure): FileCollection
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
Link copied to clipboard
abstract fun getAll(): Set<Configuration>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getAsFileTree(): FileTree
Link copied to clipboard
abstract fun getAsPath(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getDescription(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getFiles(): Set<File>
Link copied to clipboard
abstract fun getHierarchy(): Set<Configuration>
Link copied to clipboard
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getSingleFile(): File
Link copied to clipboard
Link copied to clipboard
abstract fun getTaskDependencyFromProjectDependency(useDependedOn: Boolean, taskName: String): TaskDependency
Link copied to clipboard
abstract fun getUploadTaskName(): String
Link copied to clipboard
abstract fun isCanBeConsumed(): Boolean
Link copied to clipboard
abstract fun isCanBeDeclared(): Boolean
Link copied to clipboard
abstract fun isCanBeResolved(): Boolean
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun isTransitive(): Boolean
Link copied to clipboard
abstract fun isVisible(): Boolean
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun minus(collection: FileCollection): FileCollection
Link copied to clipboard
abstract fun outgoing(action: Action<in ConfigurationPublications>)
Link copied to clipboard
abstract fun plus(collection: FileCollection): FileCollection
Link copied to clipboard
abstract fun resolutionStrategy(closure: Closure): Configuration
Link copied to clipboard
abstract fun resolve(): Set<File>
Link copied to clipboard
abstract fun setCanBeConsumed(allowed: Boolean)
Link copied to clipboard
abstract fun setCanBeDeclared(allowed: Boolean)
Link copied to clipboard
abstract fun setCanBeResolved(allowed: Boolean)
Link copied to clipboard
abstract fun setDescription(description: String): Configuration
Link copied to clipboard
abstract fun setExtendsFrom(superConfigs: Iterable<Configuration>): Configuration
Link copied to clipboard
Link copied to clipboard
abstract fun setVisible(visible: Boolean): Configuration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard