diff --git a/build.gradle b/build.gradle index e4f4979..2e53e9a 100644 --- a/build.gradle +++ b/build.gradle @@ -44,8 +44,6 @@ dependencies { } -def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword" - publishing { publications { mavenJava(MavenPublication) { @@ -59,11 +57,10 @@ publishing { url = "https://git.zontreck.com/api/packages/AriasCreations/maven" name = "ariascreations" def ENV = System.getenv() - if (project.findProperty(MAVEN_PASSWORD_PROPERTY) != null) { - credentials { - username = ENV.MVN_USER - password = ENV.ACMVN - } + + credentials { + username = ENV.MVN_USER + password = ENV.ACMVN } } }