Build: Fix idea sources jar ivy for -EAP-SNAPSHOT versions
This commit is contained in:
@@ -373,10 +373,7 @@ fun writeIvyXml(
|
|||||||
|
|
||||||
sourcesJar.forEach { jarFile ->
|
sourcesJar.forEach { jarFile ->
|
||||||
emptyElement("artifact") {
|
emptyElement("artifact") {
|
||||||
val sourcesArtifactName = jarFile.name
|
val sourcesArtifactName = jarFile.name.substringBefore("-$version")
|
||||||
.substringBeforeLast("-")
|
|
||||||
.substringBeforeLast("-")
|
|
||||||
|
|
||||||
attributes(
|
attributes(
|
||||||
"name" to sourcesArtifactName,
|
"name" to sourcesArtifactName,
|
||||||
"type" to "jar",
|
"type" to "jar",
|
||||||
|
|||||||
Reference in New Issue
Block a user