Skip to content

Commit

Permalink
Add jar with embedded dependencies to test runtime classpath (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyTsvetkov authored Oct 26, 2021
1 parent 785ab61 commit 26a05c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gradle-plugins/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ val isWindows = getCurrentOperatingSystem().isWindows

val gradleTestsPattern = "org.jetbrains.compose.gradle.*"
tasks.test {
dependsOn(jar)
classpath = project.files(jar.map { it.archiveFile }) + classpath
filter {
excludeTestsMatching(gradleTestsPattern)
}
Expand Down

0 comments on commit 26a05c5

Please sign in to comment.