Skip to content

Commit

Permalink
Don't extend configuration testCompile from shaded
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
patrick-dedication committed Dec 1, 2024
1 parent 7a9d09b commit b4b8153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/shading.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.gradleup.shadow'

configurations {
shaded
[apiElements, implementation, compileOnly, testCompile]*.extendsFrom shaded
[apiElements, implementation, compileOnly]*.extendsFrom shaded
}
configurations.api.canBeResolved = true

Expand Down

0 comments on commit b4b8153

Please sign in to comment.