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 Mar 7, 2024
1 parent 244c814 commit 5b230e5
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 5b230e5

Please sign in to comment.