diff --git a/subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts b/subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts index 5b6771b63414..f924ef2428ad 100644 --- a/subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts +++ b/subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts @@ -55,9 +55,8 @@ tasks { dependenciesIncludes.set(mapOf( "jansi-" to listOf("META-INF/native/**", "org/fusesource/jansi/internal/CLibrary*.class") )) - additionalFiles = fileTree(classpathManifest.get().manifestFile.parentFile) { - include(classpathManifest.get().manifestFile.name) - } + additionalFiles = files(classpathManifest).asFileTree + outputFile.set(jar.get().archiveFile) }