Skip to content

Commit

Permalink
Make sure correct tasks depend on each other
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Aug 6, 2024
1 parent b39a65b commit 786e684
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ dependencies {
}

tasks {
build {
dependsOn(shadowJar)
}

compileJava {
options.release = javaVersion
}
Expand Down Expand Up @@ -119,3 +123,7 @@ publishing {
}
}
}

tasks.named("publishMavenJavaPublicationToMavenLocal") {
dependsOn(tasks.named("build"))
}

0 comments on commit 786e684

Please sign in to comment.