Skip to content

Instantly share code, notes, and snippets.

@mickknutson
Created February 25, 2012 18:03
Show Gist options
  • Save mickknutson/1909806 to your computer and use it in GitHub Desktop.
Save mickknutson/1909806 to your computer and use it in GitHub Desktop.
gradle3
buildscript {
versions = [root: "1.0.0"]
list1 = ["com.baselogic:common:${versions.root}"]
list2 = ["com.baselogic:extended:${versions.root}"]
println "--- buildscript ---"
println "versions: $versions"
println "list1: $list1"
println "list2: $list2"
}
allprojects {
println "--- allprojects ---"
println "versions: $versions"
println "list1: $list1"
println "list2: $list2"
}
subprojects {
println "--- subprojects ---"
println "versions: $versions"
println "list1: $list1"
println "list2: $list2"
}
project('ch01') {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment