Fix ConcurrentModificationException
This exception is happening on build configuration trying to remove default jar task artifacts from published one. I've set 'jar' task to be always disabled instead and just add shadow jar to artifacts.
This commit is contained in:
@@ -147,6 +147,4 @@ val resultJar by task<Jar> {
|
||||
}
|
||||
|
||||
|
||||
addArtifact("runtime", resultJar)
|
||||
addArtifact("runtimeElements", resultJar)
|
||||
addArtifact("archives", resultJar)
|
||||
setPublishableArtifact(resultJar)
|
||||
|
||||
Reference in New Issue
Block a user