Prevent the root project from building an unwanted dummy cordapp. (#1706)

This commit is contained in:
Chris Rankin 2017-09-27 23:49:20 +01:00 committed by GitHub
parent 006df7f23c
commit 57e131d8a0

View File

@ -175,7 +175,6 @@ repositories {
}
}
// TODO: Corda root project currently produces a dummy cordapp when it shouldn't.
// Required for building out the fat JAR.
dependencies {
cordaCompile project(':node')
@ -196,6 +195,11 @@ dependencies {
testCompile project(':test-utils')
}
jar {
// Prevent the root project from building an unwanted dummy CorDapp.
enabled = false
}
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
dependsOn = subprojects.test
additionalSourceDirs = files(subprojects.sourceSets.main.allSource.srcDirs)