Move ENV to global context

This commit is contained in:
zontreck 2024-09-06 13:01:05 -07:00
parent 9907b1b437
commit 1be419aa9e

View file

@ -9,11 +9,12 @@ plugins {
group = "dev.zontreck" group = "dev.zontreck"
archivesBaseName = "LibAC" archivesBaseName = "LibAC"
def ENV = System.getenv()
java { java {
sourceCompatibility = JavaLanguageVersion.of(8) sourceCompatibility = JavaLanguageVersion.of(8)
toolchain.languageVersion = JavaLanguageVersion.of(8) toolchain.languageVersion = JavaLanguageVersion.of(8)
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()
} }
@ -57,7 +58,6 @@ publishing {
maven { maven {
url = "https://git.zontreck.com/api/packages/AriasCreations/maven" url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
name = "ariascreations" name = "ariascreations"
def ENV = System.getenv()
credentials { credentials {
username = ENV.MVN_USER username = ENV.MVN_USER