Browse Source

Add jar with embedded dependencies to test runtime classpath (#1313)

pull/1316/head v1.0.0-beta3
Alexey Tsvetkov 3 years ago committed by GitHub
parent
commit
26a05c5133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle-plugins/compose/build.gradle.kts

2
gradle-plugins/compose/build.gradle.kts

@ -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)
}

Loading…
Cancel
Save