Build: Specify LIBRARY_ELEMENTS_ATTRIBUTE to JAR for configurations with js libraries

This commit is contained in:
Vyacheslav Gerasimov
2019-10-18 14:13:14 +03:00
parent 1a68a772c4
commit 38f0fd256e
3 changed files with 19 additions and 2 deletions
+5 -1
View File
@@ -16,7 +16,11 @@ node {
}
val antLauncherJar by configurations.creating
val testJsRuntime by configurations.creating
val testJsRuntime by configurations.creating {
attributes {
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
}
}
dependencies {
testRuntime(intellijDep())