Update to use environment variables in build env
This commit is contained in:
parent
4cdcb54f2e
commit
31d49e2cf9
1 changed files with 6 additions and 2 deletions
|
@ -44,6 +44,9 @@ dependencies {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def MAVEN_PASSWORD = "AriasCreationsMavenPassword"
|
||||||
|
def MAVEN_USER = "AriasCreationsMavenUser"
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
|
@ -52,14 +55,15 @@ publishing {
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
|
url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
|
||||||
name = "ariascreations"
|
name = "ariascreations"
|
||||||
|
|
||||||
credentials {
|
credentials {
|
||||||
username = ENV.MVN_USER
|
username = project.findProperty(MAVEN_USER)
|
||||||
password = ENV.ACMVN
|
password = project.findProperty(MAVEN_PASSWORD)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue