Skip to content

Commit a87fd0e

Browse files
authored
Gradle config cache: resources (#15329)
1 parent 165fdd1 commit a87fd0e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

instrumentation/resources/library/build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ testing {
8888
tasks {
8989
test {
9090
dependsOn(jar)
91-
doFirst {
92-
// use the final jar instead of directories with built classes to test the mrjar functionality
93-
classpath = jar.get().outputs.files + classpath
94-
}
91+
// use the final jar instead of directories with built classes to test the mrjar functionality
92+
classpath = project.files(jar) + classpath
9593
systemProperty("testSecret", "test")
9694
systemProperty("testPassword", "test")
9795
systemProperty("testNotRedacted", "test")

0 commit comments

Comments
 (0)