2017-03-24 11:22:53 +00:00
|
|
|
buildscript {
|
|
|
|
Properties constants = new Properties()
|
|
|
|
file("../constants.properties").withInputStream { constants.load(it) }
|
|
|
|
|
|
|
|
ext.guava_version = constants.getProperty("guavaVersion")
|
|
|
|
}
|
|
|
|
|
2016-09-29 13:53:28 +00:00
|
|
|
apply plugin: 'maven'
|
2018-03-05 12:07:36 +00:00
|
|
|
apply plugin: 'java'
|
2016-09-29 13:53:28 +00:00
|
|
|
|
2016-08-26 11:31:09 +00:00
|
|
|
repositories {
|
2018-03-05 12:07:36 +00:00
|
|
|
mavenLocal()
|
2016-08-26 11:31:09 +00:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-03-05 12:07:36 +00:00
|
|
|
// Add the top-level projects ONLY to the host project.
|
|
|
|
runtime project.childProjects.values().collect {
|
|
|
|
project(it.path)
|
|
|
|
}
|
2016-08-26 11:31:09 +00:00
|
|
|
}
|
2018-03-06 15:03:10 +00:00
|
|
|
|
|
|
|
// Don't create an empty jar. The plugins are now in child projects.
|
|
|
|
jar.enabled = false
|