File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,16 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: uberjar) {
6767task 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
8282publishing. publications. findByName(' mavenJava' ). artifact(proguard. outputs. files. singleFile) {
You can’t perform that action at this time.
0 commit comments