Skip to content

Commit

Permalink
Remove version string from core JAR as it gets added in the publish s…
Browse files Browse the repository at this point in the history
…tep.
  • Loading branch information
JedS6391 committed Oct 25, 2021
1 parent d616d6b commit 9c52651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,15 @@ tasks {
val coreJar by creating(Jar::class) {
archiveBaseName.set(rootProject.name)
archiveClassifier.set("core")
archiveVersion.set("")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

manifest {
attributes["Implementation-Title"] = rootProject.name
attributes["Implementation-Version"] = version
}


from(configurations.runtimeClasspath
.get()
.map { if (it.isDirectory) it else zipTree(it) })
Expand Down

0 comments on commit 9c52651

Please sign in to comment.