mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
34 lines
731 B
Groovy
34 lines
731 B
Groovy
buildscript {
|
|
Properties constants = new Properties()
|
|
file("../constants.properties").withInputStream { constants.load(it) }
|
|
|
|
ext {
|
|
guava_version = constants.getProperty("guavaVersion")
|
|
assertj_version = '3.9.1'
|
|
junit_version = '4.12'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
allprojects {
|
|
tasks.withType(Test) {
|
|
// Prevent the project from creating temporary files outside of the build directory.
|
|
systemProperty 'java.io.tmpdir', buildDir.absolutePath
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
runtime
|
|
}
|
|
|
|
dependencies {
|
|
// Add the top-level projects ONLY to the host project.
|
|
runtime project.childProjects.collect { n, p ->
|
|
project(p.path)
|
|
}
|
|
}
|