We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b251c4d commit be95292Copy full SHA for be95292
okio/build.gradle.kts
@@ -198,10 +198,11 @@ val java9 by sourceSets.creating {
198
tasks {
199
val compileJava9Java by getting(JavaCompile::class) {
200
val compileKotlinJvm = named<KotlinCompile>("compileKotlinJvm")
201
+ .flatMap { it.destinationDirectory }.map { it.asFile.absolutePath }
202
dependsOn(compileKotlinJvm)
203
options.compilerArgumentProviders.plusAssign(
204
CommandLineArgumentProvider {
- listOf("--patch-module", "okio=${compileKotlinJvm.get().destinationDirectory.get().asFile.absolutePath}")
205
+ listOf("--patch-module", "okio=${compileKotlinJvm.get()}")
206
},
207
)
208
options.release = 9
0 commit comments