File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
7272signing {
7373 useGpgCmd()
7474 sign publishing. publications. mavenJava
75- }
75+ }
Original file line number Diff line number Diff 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 {
6868signing {
6969 useGpgCmd()
7070 sign publishing. publications. mavenJava
71- }
71+ }
You can’t perform that action at this time.
0 commit comments