Skip to content

Commit c1d849f

Browse files
committed
Remove unused resources srcDirs from gwt-2.0 javaagent testapp source set
The testapp source set's resources block was never consumed: the webapp files are copied directly via the copyTestWebapp task using from(file("src/testapp/webapp")), independent of the source set. compileGwt only uses java.srcDirs/compileClasspath, and the test classpath only adds build/testapp/classes. Dropping the dead block.
1 parent 41c75ed commit c1d849f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

instrumentation/gwt-2.0/javaagent/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ sourceSets {
2323
java {
2424
destinationDirectory.set(layout.buildDirectory.dir("testapp/classes"))
2525
}
26-
resources {
27-
srcDirs("src/testapp/webapp")
28-
}
2926
compileClasspath = compileClasspath.plus(sourceSets.main.get().compileClasspath)
3027
}
3128
}

0 commit comments

Comments
 (0)