diff --git a/okio/build.gradle.kts b/okio/build.gradle.kts index 9d7d49689e..7142b4978b 100644 --- a/okio/build.gradle.kts +++ b/okio/build.gradle.kts @@ -229,7 +229,7 @@ tasks { } named("jvmJar") { - from(compileJava9Java) { + from(compileJava9Java.flatMap { it.destinationDirectory }) { into("META-INF/versions/9") } val bndExtension = BundleTaskExtension(this)