mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
Tell build to depend on shadowJar and publish for build
This commit is contained in:
@@ -65,6 +65,10 @@ tasks {
|
||||
eachFile { expand("version" to project.version) }
|
||||
}
|
||||
|
||||
build {
|
||||
dependsOn(named("shadowJar"))
|
||||
}
|
||||
|
||||
withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
@@ -114,7 +118,7 @@ tasks {
|
||||
}
|
||||
}
|
||||
|
||||
publish.get().setDependsOn(listOf(clean.get(), test.get(), jar.get()))
|
||||
publish.get().setDependsOn(listOf(build.get()))
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
Reference in New Issue
Block a user