Skip to content

Commit

Permalink
fix: fix jar build name & add back kapt
Browse files Browse the repository at this point in the history
  • Loading branch information
duruer committed Feb 27, 2024
1 parent c7999ea commit 5936306
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
kotlin("jvm") version "1.9.20"
kotlin("kapt") version "1.9.20"
id("com.github.johnrengelman.shadow") version "8.1.1"
`maven-publish`
}
Expand Down Expand Up @@ -32,6 +33,7 @@ dependencies {
compileOnly(kotlin("stdlib-jdk8"))

compileOnly("org.pf4j:pf4j:${pf4jVersion}")
kapt("org.pf4j:pf4j:${pf4jVersion}")

compileOnly("io.vertx:vertx-lang-kotlin:$vertxVersion")
compileOnly("io.vertx:vertx-lang-kotlin-coroutines:$vertxVersion")
Expand Down Expand Up @@ -59,7 +61,7 @@ tasks {
attributes["Plugin-Dependencies"] = pluginDependencies
}

archiveFileName.set("$pluginId-$version-shadow.jar")
archiveFileName.set("$pluginId-$version.jar")

dependencies {
exclude(dependency("io.vertx:vertx-core"))
Expand Down

0 comments on commit 5936306

Please sign in to comment.