Tell build to depend on shadowJar and publish for build

This commit is contained in:
darbyjack
2023-03-17 14:13:49 -05:00
parent 7e902cae66
commit 3d00d48106

View File

@@ -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 {