Skip to content

Commit

Permalink
IBMStreams#10: Fixed gradle build script for physionet and rpeak dete…
Browse files Browse the repository at this point in the history
…ct. Include buildServices in build target
  • Loading branch information
chanskw committed Dec 7, 2016
1 parent 7493b9c commit 1877e06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions analyze/com.ibm.streamsx.health.analytics.ecg/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies {

task buildToolkit {
doLast {
tasks.copyJarToImpl.execute()
splMakeToolkit()
}
}
Expand All @@ -35,7 +36,7 @@ task buildIngestToolkit(type: GradleBuild) {
tasks = ['build']
}

task buildServices(dependsOn: 'buildIngestToolkit') {
task buildServices(dependsOn: ['buildIngestToolkit', 'buildToolkit']) {
doLast {
def serviceToolkitPath = jsonToolkitPath + ':' + topologyToolkitPath + ':' + healthIngestToolkitPath + ':' + timeseriesToolkitPath
compileApp('com.ibm.streamsx.health.analysis.ecg.service', 'RPeakDetectService', serviceToolkitPath)
Expand All @@ -59,7 +60,6 @@ task deleteDeps(type: Delete) {
delete 'impl/java/bin'
}

build.dependsOn buildToolkit
build.finalizedBy(copyJarToImpl)
build.dependsOn buildToolkit, buildServices
clean.dependsOn deleteDeps, cleanToolkit

Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ task deleteDeps(type: Delete) {
delete 'output'
}

build.dependsOn buildToolkit
build.dependsOn buildToolkit, buildServices
clean.dependsOn deleteDeps, cleanToolkit

0 comments on commit 1877e06

Please sign in to comment.