mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-02-05 15:55:28 +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) }
|
eachFile { expand("version" to project.version) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build {
|
||||||
|
dependsOn(named("shadowJar"))
|
||||||
|
}
|
||||||
|
|
||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.encoding = "UTF-8"
|
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 {
|
configurations {
|
||||||
|
Loading…
Reference in New Issue
Block a user