update publishing section
This commit is contained in:
parent
7ca8d0f771
commit
cb8b45dad0
1 changed files with 4 additions and 7 deletions
11
build.gradle
11
build.gradle
|
@ -44,8 +44,6 @@ dependencies {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
|
@ -59,11 +57,10 @@ publishing {
|
||||||
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()
|
def ENV = System.getenv()
|
||||||
if (project.findProperty(MAVEN_PASSWORD_PROPERTY) != null) {
|
|
||||||
credentials {
|
credentials {
|
||||||
username = ENV.MVN_USER
|
username = ENV.MVN_USER
|
||||||
password = ENV.ACMVN
|
password = ENV.ACMVN
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue