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 {
52
52
url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
53
53
54
54
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" )
57
57
}
58
58
}
59
59
}
@@ -68,4 +68,4 @@ javadoc {
68
68
options. links = [
69
69
" https://docs.spring.io/spring/docs/5.0.0.RELEASE/javadoc-api/"
70
70
]
71
- }
71
+ }
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ subprojects {
55
55
apply plugin : " jacoco"
56
56
57
57
group = ' org.mapstruct.extensions.spring'
58
- version = ' 1.1.2-SNAPSHOT '
58
+ version = ' 1.1.2'
59
59
60
60
java {
61
61
toolchain {
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ publishing {
62
62
url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
63
63
64
64
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" )
67
67
}
68
68
}
69
69
}
@@ -72,4 +72,4 @@ publishing {
72
72
signing {
73
73
useGpgCmd()
74
74
sign publishing. publications. mavenJava
75
- }
75
+ }
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ publishing {
58
58
url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
59
59
60
60
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" )
63
63
}
64
64
}
65
65
}
@@ -68,4 +68,4 @@ publishing {
68
68
signing {
69
69
useGpgCmd()
70
70
sign publishing. publications. mavenJava
71
- }
71
+ }
You can’t perform that action at this time.
0 commit comments