- Auto upload snapshots to maven

This commit is contained in:
Taah 2022-02-21 18:35:17 -08:00
parent 15d28cccf2
commit 011105c9ee

View File

@ -97,6 +97,10 @@ tasks.withType(JavaCompile) {
tasks {
build {
dependsOn(shadowJar)
if (getVersion().toString().toLowerCase().endsWith("-snapshot"))
{
dependsOn(publishPlexSnapshotsPublicationToMaven2Repository)
}
}
javadoc {