Build: Workaround wrong import of transitive libraries in Idea
This commit is contained in:
@@ -94,12 +94,14 @@ publish()
|
|||||||
noDefaultJar()
|
noDefaultJar()
|
||||||
|
|
||||||
val packCompiler by task<ShadowJar> {
|
val packCompiler by task<ShadowJar> {
|
||||||
configurations = listOf(fatJarContents)
|
configurations = emptyList()
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
destinationDir = File(buildDir, "libs")
|
destinationDir = File(buildDir, "libs")
|
||||||
|
|
||||||
setupPublicJar(compilerBaseName, "before-proguard")
|
setupPublicJar(compilerBaseName, "before-proguard")
|
||||||
|
|
||||||
|
from(fatJarContents)
|
||||||
|
|
||||||
dependsOn(fatJarContentsStripServices)
|
dependsOn(fatJarContentsStripServices)
|
||||||
from {
|
from {
|
||||||
fatJarContentsStripServices.files.map {
|
fatJarContentsStripServices.files.map {
|
||||||
|
|||||||
Reference in New Issue
Block a user