diff --git a/annotations/build.gradle b/annotations/build.gradle index fa3ce54..13b2679 100644 --- a/annotations/build.gradle +++ b/annotations/build.gradle @@ -52,8 +52,8 @@ publishing { url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl credentials { - username = System.getenv("OSSRH_USERNAME") - password = System.getenv("OSSRH_PASSWORD") + username = ossrhUsername + password = ossrhPassword } } } diff --git a/build.gradle b/build.gradle index 8830ed8..de54b08 100644 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ subprojects { apply plugin: "jacoco" group = 'org.mapstruct.extensions.spring' - version = '1.1.1-SNAPSHOT' + version = '1.1.1' java { toolchain { diff --git a/extensions/build.gradle b/extensions/build.gradle index 505cf2b..2e7ce35 100644 --- a/extensions/build.gradle +++ b/extensions/build.gradle @@ -62,8 +62,8 @@ publishing { url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl credentials { - username = System.getenv("OSSRH_USERNAME") - password = System.getenv("OSSRH_PASSWORD") + username = ossrhUsername + password = ossrhPassword } } } diff --git a/test-extensions/build.gradle b/test-extensions/build.gradle index 6a89ff9..1f3fa4b 100644 --- a/test-extensions/build.gradle +++ b/test-extensions/build.gradle @@ -58,8 +58,8 @@ publishing { url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl credentials { - username = System.getenv("OSSRH_USERNAME") - password = System.getenv("OSSRH_PASSWORD") + username = ossrhUsername + password = ossrhPassword } } }