Skip to content

Commit b33cefa

Browse files
committed
release gradle plugin 1.8.1
1 parent 62f119b commit b33cefa

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ android.useAndroidX=true
1616
# apply router plugin
1717
applyRemotePlugin=false
1818
# router gradle plugin version
19-
PLUGIN_VERSION=1.8.0
19+
PLUGIN_VERSION=1.8.1
2020
# router library version
2121
ROUTER_VERSION=1.8.0
2222
# compiler library version

gradle/publish.gradle

+10-2
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,17 @@ afterEvaluate {
6969
def snapshotsRepoUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
7070
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
7171

72+
def _ossrhUsername = ''
73+
def _ossrhPassword = ''
74+
if (project.hasProperty('ossrhUsername')) {
75+
_ossrhUsername = ossrhUsername
76+
}
77+
if (project.hasProperty('ossrhPassword')) {
78+
_ossrhPassword = ossrhPassword
79+
}
7280
credentials {
73-
username = ossrhUsername
74-
password = ossrhPassword
81+
username = _ossrhUsername
82+
password = _ossrhPassword
7583
}
7684
}
7785
}

0 commit comments

Comments
 (0)