Build: Use attributes to resolve test dependencies in jps build mode

This commit is contained in:
Vyacheslav Gerasimov
2020-06-26 19:08:34 +03:00
parent a32f901ab9
commit 77a8cf4e66
10 changed files with 84 additions and 11 deletions
+1
View File
@@ -145,6 +145,7 @@ val libraries by configurations.creating {
val jpsPlugin by configurations.creating {
attributes {
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
}
}