Skip to content

Commit

Permalink
fix gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
amarziali committed Jan 2, 2025
1 parent 74641ba commit d3e1f2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dd-java-agent/instrumentation/wildfly-9/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ dependencies {
}
}


latestDepTestRuntimeOnly project(':dd-java-agent:instrumentation:servlet:request-5')
}

Expand Down Expand Up @@ -125,13 +124,21 @@ tasks.register("extractLatestWildfly", Copy) {
onlyIf { !project.rootProject.hasProperty("skipTests") }
}


tasks.named("test").configure {
dependsOn 'extractWildfly'
}

tasks.named("forkedTest").configure {
dependsOn 'extractWildfly'
}
tasks.named("latestDepForkedTest").configure {
dependsOn 'extractLatestWildfly'
}

tasks.named("latestDepTest").configure {
dependsOn 'extractLatestWildfly'
}
compileTestGroovy.configure {
javaLauncher = getJavaLauncherFor(11)
}
Expand Down

0 comments on commit d3e1f2d

Please sign in to comment.