build: Update Gradle and plugins, small cleanup to build scripts

This commit is contained in:
Jason Penilla 2021-06-14 05:33:09 -07:00 committed by Jason
parent 9692593095
commit fb48a3c8af
19 changed files with 245 additions and 189 deletions

View file

@ -0,0 +1,10 @@
plugins {
id("net.kyori.indra.publishing.sonatype")
}
System.getenv("SNAPSHOT_PUBLISHING_USERNAME")?.run {
setProperty("incendoUsername", this)
}
System.getenv("SNAPSHOT_PUBLISHING_PASSWORD")?.run {
setProperty("incendoPassword", this)
}