Skip to content

Commit

Permalink
fix: fix not building with bootstrap template
Browse files Browse the repository at this point in the history
  • Loading branch information
duruer committed Feb 27, 2024
1 parent 5c28f02 commit 94b9d49
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.internal.KaptTask

plugins {
kotlin("jvm") version "1.9.20"
kotlin("kapt") version "1.9.20"
Expand Down Expand Up @@ -41,16 +39,6 @@ dependencies {
compileOnly("io.vertx:vertx-jdbc-client:$vertxVersion")
}

tasks.named("jar").configure {
enabled = false
}

tasks.withType<KaptTask> {
if (bootstrap) {
mustRunAfter(":plugins:parsek-plugin-database:shadowJar")
}
}

tasks {
shadowJar {
val pluginId: String by project
Expand Down Expand Up @@ -85,7 +73,8 @@ tasks {
}
}

build {
jar {
enabled = false
dependsOn(shadowJar)
dependsOn("copyJar")
}
Expand Down

0 comments on commit 94b9d49

Please sign in to comment.