Adjust publishing URL
This commit is contained in:
parent
0b79531751
commit
9c3fc3feb9
2 changed files with 13 additions and 13 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -28,3 +28,5 @@ replay_pid*
|
||||||
|
|
||||||
build
|
build
|
||||||
bin
|
bin
|
||||||
|
|
||||||
|
.idea
|
20
build.gradle
20
build.gradle
|
@ -52,11 +52,7 @@ println("Compile for version : ${version}")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
// Use Maven Central for resolving dependencies.
|
// Use Maven Central for resolving dependencies.
|
||||||
// mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
|
||||||
url = "https://maven.zontreck.com/repository/internal"
|
|
||||||
name = "Aria's Creations"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -81,7 +77,9 @@ jar {
|
||||||
|
|
||||||
jar.dependsOn(sourcesJar, javadocJar)
|
jar.dependsOn(sourcesJar, javadocJar)
|
||||||
|
|
||||||
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
def MAVEN_PASSWORD = "AriasCreationsMavenPassword"
|
||||||
|
def MAVEN_USER = "AriasCreationsMavenUser"
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
|
@ -90,15 +88,15 @@ publishing {
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = "https://maven.zontreck.com/repository/zontreck"
|
url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
|
||||||
name = "ariascreations"
|
name = "ariascreations"
|
||||||
if (project.findProperty(MAVEN_PASSWORD_PROPERTY) != null) {
|
|
||||||
credentials {
|
credentials {
|
||||||
username = "admin"
|
username = project.findProperty(MAVEN_USER)
|
||||||
password = project.findProperty(MAVEN_PASSWORD_PROPERTY)
|
password = project.findProperty(MAVEN_PASSWORD)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue