Skip to content

Commit 8b753c3

Browse files
committed
fixed proguard check
1 parent e73a116 commit 8b753c3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

moco-runner/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: uberjar) {
6767
task proguardCheck(type: Test, dependsOn: proguard) {
6868
testLogging { exceptionFormat = "full" }
6969

70-
testClassesDirs = files()
70+
testClassesDirs = sourceSets.test.output.classesDirs
7171
useJUnitPlatform()
72-
73-
classpath = sourceSets.test.output +
74-
configurations.testRuntimeClasspath -
75-
configurations.runtimeClasspath +
72+
73+
classpath = findTestJar('httpclient5') +
74+
findTestJar('httpclient5-fluent') +
75+
findTestJar('httpcore5') +
7676
files(proguard.outputs.files.singleFile) +
77-
findJar('netty-codec-http') +
78-
findTestJar('httpclient5') +
79-
findTestJar('httpcore5')
77+
configurations.testRuntimeClasspath -
78+
files(sourceSets.main.output.classesDirs) +
79+
sourceSets.test.output
8080
}
8181

8282
publishing.publications.findByName('mavenJava').artifact(proguard.outputs.files.singleFile) {

0 commit comments

Comments
 (0)