Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gradle1
def versions = [root: "1.0.0"]
buildscript {
List list1 = ["com.baselogic:common:${versions.root}"]
List 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