Build: Use attributes to resolve test dependencies in jps build mode
This commit is contained in:
@@ -4,7 +4,13 @@ plugins {
|
||||
}
|
||||
|
||||
val compile by configurations
|
||||
val fatJarContents by configurations.creating
|
||||
val fatJarContents by configurations.creating {
|
||||
isCanBeResolved = true
|
||||
isCanBeConsumed = false
|
||||
attributes {
|
||||
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
|
||||
}
|
||||
}
|
||||
val fatJarContentsStripMetadata by configurations.creating
|
||||
val fatJarContentsStripServices by configurations.creating
|
||||
|
||||
|
||||
Reference in New Issue
Block a user