Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 50ecf85

Browse files
committedAug 31, 2024··
Release 1.1.2
1 parent 7295d89 commit 50ecf85

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
 

‎annotations/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ publishing {
5252
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
5353

5454
credentials {
55-
username = System.getenv("OSSRH_USERNAME")
56-
password = System.getenv("OSSRH_PASSWORD")
55+
username = project.findProperty("ossrhUsername") ?: System.getenv("OSSRH_USERNAME")
56+
password = project.findProperty("ossrhPassword") ?: System.getenv("OSSRH_PASSWORD")
5757
}
5858
}
5959
}
@@ -68,4 +68,4 @@ javadoc {
6868
options.links = [
6969
"https://docs.spring.io/spring/docs/5.0.0.RELEASE/javadoc-api/"
7070
]
71-
}
71+
}

‎build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ subprojects {
5555
apply plugin: "jacoco"
5656

5757
group = 'org.mapstruct.extensions.spring'
58-
version = '1.1.2-SNAPSHOT'
58+
version = '1.1.2'
5959

6060
java {
6161
toolchain {

‎extensions/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ publishing {
6262
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
6363

6464
credentials {
65-
username = System.getenv("OSSRH_USERNAME")
66-
password = System.getenv("OSSRH_PASSWORD")
65+
username = project.findProperty("ossrhUsername") ?: System.getenv("OSSRH_USERNAME")
66+
password = project.findProperty("ossrhPassword") ?: System.getenv("OSSRH_PASSWORD")
6767
}
6868
}
6969
}
@@ -72,4 +72,4 @@ publishing {
7272
signing {
7373
useGpgCmd()
7474
sign publishing.publications.mavenJava
75-
}
75+
}

‎test-extensions/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ publishing {
5858
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
5959

6060
credentials {
61-
username = System.getenv("OSSRH_USERNAME")
62-
password = System.getenv("OSSRH_PASSWORD")
61+
username = project.findProperty("ossrhUsername") ?: System.getenv("OSSRH_USERNAME")
62+
password = project.findProperty("ossrhPassword") ?: System.getenv("OSSRH_PASSWORD")
6363
}
6464
}
6565
}
@@ -68,4 +68,4 @@ publishing {
6868
signing {
6969
useGpgCmd()
7070
sign publishing.publications.mavenJava
71-
}
71+
}

0 commit comments

Comments
 (0)
Please sign in to comment.