Move ENV to global context
This commit is contained in:
parent
9907b1b437
commit
1be419aa9e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue