for built-in configurations I’d make strongly type...
# gradle
o
for built-in configurations I’d make strongly typed vals, like
Copy code
val testCompile = ConfigurationSelector(“testCompile”)
class ConfigurationSelector(val selector:String) {
   fun DependencyHandler.invoke(notation: String) = add(selector, notation)
}
and use it like
Copy code
dependencies {
  testCompile(“…”)
}
👍 15