Gradle - ext
Example
Kotlin
- Set a value
ext {
set("variable","value")
}
- Set a function
val halloWorld= fun () {
println("Hallo World");
}
project.ext.set("halloWorld",halloWorld)
ext {
set("variable","value")
}
val halloWorld= fun () {
println("Hallo World");
}
project.ext.set("halloWorld",halloWorld)