mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Fixed an issue caused by the irs-demo project that would prevent builds from succeed.
Build command that would fail every time: “./gradlew clean build slowIntegrationTest”. Notes: The evaluationDependsOn lines inside the build.gradle file under the irs-demo folder where moved above the dependencies for best practices and to avoid weird errors. The archiveClassifier added to the build.gradle file under irs-demo/web folder is the actual fix. The archive classifier accepts a string that is appended to the jar file. By changing the filename of the jar, Boot Spring is prevented from overwriting the jar and causing build issues.
This commit is contained in:
parent
5d24b70227
commit
d8eb117104
@ -50,6 +50,9 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
evaluationDependsOn("cordapp")
|
||||
evaluationDependsOn("web")
|
||||
|
||||
dependencies {
|
||||
compile "commons-io:commons-io:$commons_io_version"
|
||||
compile project(":samples:irs-demo:web")
|
||||
@ -84,9 +87,6 @@ task slowIntegrationTest(type: Test, dependsOn: []) {
|
||||
classpath = sourceSets.slowIntegrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
evaluationDependsOn("cordapp")
|
||||
evaluationDependsOn("web")
|
||||
|
||||
task systemTest(type: Test, dependsOn: ["cordapp:prepareDockerNodes", "web:generateDockerCompose"]) {
|
||||
testClassesDirs = sourceSets.systemTest.output.classesDirs
|
||||
classpath = sourceSets.systemTest.runtimeClasspath
|
||||
|
@ -92,6 +92,7 @@ dependencies {
|
||||
jar {
|
||||
from sourceSets.main.output
|
||||
dependsOn clientInstall
|
||||
archiveClassifier = 'thin'
|
||||
}
|
||||
|
||||
def docker_dir = file("$project.buildDir/docker")
|
||||
|
Loading…
Reference in New Issue
Block a user