We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d94fb commit d288e0eCopy full SHA for d288e0e
core/build.gradle.kts
@@ -79,7 +79,10 @@ val samplesImplementation by configurations.getting {
79
}
80
81
val compileSamplesKotlin = tasks.named<KotlinCompile>("compileSamplesKotlin") {
82
- friendPaths.from(sourceSets["main"].output.classesDirs)
+ tasks.named<KotlinCompile>("compileTestKotlin").get().let {
83
+ friendPaths.from(it.friendPaths)
84
+ libraries.from(it.libraries)
85
+ }
86
source(sourceSets["test"].kotlin)
87
destinationDirectory.set(file("$buildDir/classes/testWithOutputs/kotlin"))
88
0 commit comments