antonioleiva
11/03/2017, 7:17 AMext
to Kotlin dsl, after quite some time I’ve found that some similar is using the extra
delegate. I have the root build.gradle, and the module one. To use an extra I need to do:
root script:
val androidCompileSdkVersion by extra { 26 }
module script:
val androidCompileSdkVersion: Int by extra
compileSdkVersion(androidCompileSdkVersion)