diff --git a/prepare/compiler/build.gradle.kts b/prepare/compiler/build.gradle.kts index 21299f8a9e7..f8a884895d7 100644 --- a/prepare/compiler/build.gradle.kts +++ b/prepare/compiler/build.gradle.kts @@ -222,13 +222,15 @@ dependencies { publish() -val packCompiler by task { - configurations = emptyList() +val packCompiler by task { duplicatesStrategy = DuplicatesStrategy.EXCLUDE destinationDirectory.set(File(buildDir, "libs")) archiveClassifier.set("before-proguard") - from(fatJarContents) + dependsOn(fatJarContents) + from { + fatJarContents.map(::zipTree) + } dependsOn(fatJarContentsStripServices) from {