Fix deprecated gradle warnings
MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-wildfly-testing/build.gradle.kts
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-wildfly-testing/build.gradle.kts
@@ -21,7 +21,10 @@ dependencies {
tasks {
// extract wildfly dist, path is used from arquillian.xml
val setupServer by registering(Copy::class) {
- from(zipTree(testServer.singleFile))
+ inputs.files(testServer)
+ from({
+ zipTree(testServer.singleFile)
+ })
into(file("build/server/"))
}

MODIFY
instrumentation/jaxws/jaxws-2.0-wildfly-testing/build.gradle.kts
instrumentation/jaxws/jaxws-2.0-wildfly-testing/build.gradle.kts
@@ -22,7 +22,10 @@ dependencies {
tasks {
// extract wildfly dist, path is used from arquillian.xml
val setupServer by registering(Copy::class) {
- from(zipTree(testServer.singleFile))
+ inputs.files(testServer)
+ from({
+ zipTree(testServer.singleFile)
+ })
into(file("build/server/"))
}

MODIFY
instrumentation/spring/spring-webmvc-3.1/wildfly-testing/build.gradle.kts
instrumentation/spring/spring-webmvc-3.1/wildfly-testing/build.gradle.kts
@@ -31,7 +31,10 @@ dependencies {
tasks {
// extract wildfly dist, path is used from arquillian.xml
val setupServer by registering(Copy::class) {
- from(zipTree(testServer.singleFile))
+ inputs.files(testServer)
+ from({
+ zipTree(testServer.singleFile)
+ })
into(file("build/server/"))
}

Fix deprecated gradle warnings (#6221)