mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
25 lines
548 B
Groovy
25 lines
548 B
Groovy
buildscript {
|
|
Properties constants = new Properties()
|
|
file("../constants.properties").withInputStream { constants.load(it) }
|
|
|
|
ext.guava_version = constants.getProperty("guavaVersion")
|
|
}
|
|
|
|
apply plugin: 'maven'
|
|
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Add the top-level projects ONLY to the host project.
|
|
runtime project.childProjects.values().collect {
|
|
project(it.path)
|
|
}
|
|
}
|
|
|
|
// Don't create an empty jar. The plugins are now in child projects.
|
|
jar.enabled = false
|