diff --git a/build.gradle b/build.gradle index d74f1db..267e7fe 100644 --- a/build.gradle +++ b/build.gradle @@ -44,6 +44,9 @@ dependencies { } +def MAVEN_PASSWORD = "AriasCreationsMavenPassword" +def MAVEN_USER = "AriasCreationsMavenUser" + publishing { publications { mavenJava(MavenPublication) { @@ -52,14 +55,15 @@ publishing { artifact javadocJar } } + repositories { maven { url = "https://git.zontreck.com/api/packages/AriasCreations/maven" name = "ariascreations" credentials { - username = ENV.MVN_USER - password = ENV.ACMVN + username = project.findProperty(MAVEN_USER) + password = project.findProperty(MAVEN_PASSWORD) } } }