Skip to content

Commit 0a583fe

Browse files
authored
Change task ordering to try to fix build issues with dd-smoke-tests (#7570)
1 parent c34acd2 commit 0a583fe

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

dd-smoke-tests/springboot-tomcat/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ tasks.sourcesJar{
9595
dependsOn 'unzip'
9696
}
9797

98+
tasks.forbiddenApisMain {
99+
dependsOn 'unzip'
100+
}
101+
102+
tasks.spotbugsMain {
103+
dependsOn 'unzip'
104+
}
105+
98106
tasks.matching({it.name.startsWith('compileTest')}).configureEach {
99107
dependsOn 'war', 'bootWar', 'unzip'
100108
}

dd-smoke-tests/wildfly/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ tasks.register("unzip", Copy) {
103103
onlyIf { !project.rootProject.hasProperty("skipTests") }
104104
}
105105

106+
tasks.withType(Jar).configureEach {
107+
dependsOn tasks.unzip
108+
}
109+
106110
tasks.register("deploy", Copy) {
107111
dependsOn tasks.unzip
108112
from "${appBuildDir}/libs/wildfly-spring-ear-smoketest.ear"

0 commit comments

Comments
 (0)