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)

Documentation / Reference


Powered by ComboStrap