Skip to content

Commit

Permalink
[build] - Update gradle build to make assemble invoke integration tes…
Browse files Browse the repository at this point in the history
…t compile task (hyperledger#6688)

Signed-off-by: Usman Saleem <usman@usmans.info>
  • Loading branch information
usmansaleem authored and matthew1001 committed Jun 7, 2024
1 parent 2a8aa16 commit c83d5d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,13 @@ subprojects {

dependencies { jmh 'org.slf4j:slf4j-api' }
}

// making sure assemble task invokes integration test compile
afterEvaluate { project ->
if (project.tasks.findByName('compileIntegrationTestJava')) {
project.tasks.assemble.dependsOn compileIntegrationTestJava
}
}
}

jar { enabled = false }
Expand Down

0 comments on commit c83d5d3

Please sign in to comment.