We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9363fd commit c9fb4a6Copy full SHA for c9fb4a6
okio/build.gradle.kts
@@ -220,14 +220,9 @@ testing {
220
221
tasks {
222
val compileJava9Java by getting(JavaCompile::class) {
223
- val compileKotlinJvm = named<KotlinCompile>("compileKotlinJvm")
224
- .flatMap { it.destinationDirectory }.map { it.asFile.absolutePath }
225
- inputs.dir(compileKotlinJvm)
226
- options.compilerArgumentProviders.plusAssign(
227
- CommandLineArgumentProvider {
228
- listOf("--patch-module", "okio=${compileKotlinJvm.get()}")
229
- },
230
- )
+ options.compilerArgumentProviders.add(CommandLineArgumentProvider {
+ listOf("--patch-module", "okio=${sourceSets["main"].output.asPath}")
+ })
231
options.release = 9
232
}
233
0 commit comments