Build: Fix variant resolution ambiguity

This commit is contained in:
Vyacheslav Gerasimov
2020-05-07 14:27:06 +03:00
parent eeb2f7d3d1
commit b4df4e5525
12 changed files with 52 additions and 32 deletions
+5 -1
View File
@@ -142,7 +142,11 @@ val libraries by configurations.creating {
exclude("org.jetbrains.intellij.deps", "trove4j") // Idea already has trove4j
}
val jpsPlugin by configurations.creating
val jpsPlugin by configurations.creating {
attributes {
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
}
}
configurations.all {
resolutionStrategy {