Skip to content

Commit

Permalink
Repalce testRuntime with runtimeElements and testRuntimeClasspath for…
Browse files Browse the repository at this point in the history
… Gradle 7 compatibility
  • Loading branch information
vlsi committed Mar 24, 2021
1 parent 4bc9166 commit 7f65cf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,10 @@ allprojects {
}

val testClasses by configurations.creating {
extendsFrom(configurations["testRuntime"])
isCanBeConsumed = true
isCanBeResolved = false
extendsFrom(configurations["runtimeElements"])
extendsFrom(configurations["testRuntimeClasspath"])
}

val archives by configurations.getting
Expand Down

0 comments on commit 7f65cf2

Please sign in to comment.