Skip to content

Commit

Permalink
chore(gradle) The JAR task is never up-to-date.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed May 7, 2020
1 parent e2ec5d6 commit b683130
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ tasks.withType(Test) {
// shared object file
systemProperty "java.library.path", "target/current/"
// Don"t capture the standard output.
testLogging {
outputs.upToDateWhen { false }
// Don"t capture the standard output.
showStandardStreams = true
}
}
Expand All @@ -150,6 +151,8 @@ jar.doLast() {
println("::set-output name=name::" + jar_name)
}

jar.outputs.upToDateWhen { false }

// We build the integration before running any test
compileTestJava.dependsOn buildRust
processResources.dependsOn copyAllArtifacts
Expand Down

0 comments on commit b683130

Please sign in to comment.