about the configuration discoverability (if I unde...
# gradle
v
about the configuration discoverability (if I understood it correctly) there was an idea some time ago how to allow plugins to add functionality in a consistent way basically there is a global singleton and plugin authors add extensions to it
Copy code
// somewhere in Gradle
interface Config {
    operator fun invoke(group: String) { TODO() }
}

object Configurations

// in a plugin
val Configurations.compile: Config 
	get() = TODO()


// build script
dependencies {
    Configurations.compile("...")
    
    val compile = Configurations.compile
    compile(group = "…")
}