mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Tell build to depend on shadowJar and publish for build
This commit is contained in:
parent
7e902cae66
commit
3d00d48106
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user