Skip to content

Commit

Permalink
chore(build): Use plugin identifier for shadow jar name when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Dec 3, 2024
1 parent acc492e commit a07d9e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ val generateMetadataFile by tasks.registering {
}

tasks.shadowJar {
archiveClassifier.set("plugin")
archiveFileName = extension.identifier.map { "$it.jar" }
archiveClassifier = "plugin"
from(generateMetadataFile)
from(rootProject.file("LICENSE.md")) { into("META-INF") }
mergeServiceFiles()
Expand Down

0 comments on commit a07d9e8

Please sign in to comment.