Build: Specify LIBRARY_ELEMENTS_ATTRIBUTE to JAR for configurations with js libraries
This commit is contained in:
@@ -35,6 +35,9 @@ val proguardLibraries by configurations.creating {
|
||||
// Libraries to copy to the lib directory
|
||||
val libraries by configurations.creating {
|
||||
exclude("org.jetbrains.kotlin", "kotlin-stdlib-common")
|
||||
attributes {
|
||||
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
|
||||
}
|
||||
}
|
||||
|
||||
// Compiler plugins should be copied without `kotlin-` prefix
|
||||
|
||||
Reference in New Issue
Block a user