I would like to set a set of jar versions common to all sub projects. I tried having this code
allProjects {
ext {
solrVersion = “4.10.3”
}
}
And in a subproject
dependencies {
compile “org.apache.solr:solr-core:$solrVersion”
}
However the sub-project complains that cannot resolve solrVersion.