Make artifactoryPublish dependsOn build
Turns out Gradle 7 can run independent tasks in parallel. * Make an `artifactoryPublish` dependent on `build` task to ensure that tests are performed before artifacts are published to the repository **Cherry-pick to `2.9.x` & `2.8.x`**
This commit is contained in:
@@ -58,5 +58,6 @@ publishing {
|
||||
}
|
||||
|
||||
artifactoryPublish {
|
||||
dependsOn build
|
||||
publications(publishing.publications.mavenJava)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user