Skip to content

Commit 2fa7f65

Browse files
Don't extend configuration compileOnly and testCompile from shaded (#9579)
Don't extend configuration testCompile from shaded * using testCompile has been discouraged since Gradle 3.4 * made sure dependencies on all other configurations are unchanged * no need to change it to testImplementation since testCompileClasspath and testRuntimeClasspath extend from implementation Don't extend configuration compileOnly from shaded * compileClasspath already extends from implementation --------- Co-authored-by: Eddú Meléndez Gonzales <[email protected]>
1 parent 99981f8 commit 2fa7f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/shading.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'com.gradleup.shadow'
44

55
configurations {
66
shaded
7-
[apiElements, implementation, compileOnly, testCompile]*.extendsFrom shaded
7+
[apiElements, implementation]*.extendsFrom shaded
88
}
99
configurations.api.canBeResolved = true
1010

0 commit comments

Comments
 (0)