This script use the same configuration convention used in the new native development in Gradle. Note, that this build script example is an extensive example. Normally, lots of the default configuration would be done for you.
Comment, pitch improvement, critics, etc. are welcome!