File tree Expand file tree Collapse file tree 6 files changed +21
-15
lines changed
Expand file tree Collapse file tree 6 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ via Maven:
1515<dependency >
1616 <groupId >com.faithlife</groupId >
1717 <artifactId >android-lint</artifactId >
18- <version >1.1.2 </version >
18+ <version >1.1.3 </version >
1919</dependency >
2020```
2121
2222via Gradle:
2323
2424``` kotlin
25- compileOnly(" com.faithlife:android-lint:1.1.2 " )
25+ compileOnly(" com.faithlife:android-lint:1.1.3 " )
2626```
2727
2828## Build instructions
Original file line number Diff line number Diff line change 1- name : Publish
1+ name : publish
22
33on :
44 release :
2828 - name : Publish to MavenCentral
2929 run : ./gradlew --max-workers 1 --no-daemon publishReleasePublicationToSonatypeRepository closeAndReleaseRepository
3030 env :
31- ORG_GRADLE_PROJECT_signing.keyid : ${{ secrets.SIGNING_KEY_ID }}
32- ORG_GRADLE_PROJECT_signing.password : ${{ secrets.SIGNING_KEY_PASSWORD }}
33- ORG_GRADLE_PROJECT_signing.secretKeyRingFile : ${{ secrets.SIGNING_KEY_FILE_PATH }}
34- ORG_GRADLE_PROJECT_ossrhUsername : ${{ secrets.OSSRH_USERNAME }}
35- ORG_GRADLE_PROJECT_ossrhPassword : ${{ secrets.OSSRH_PASSWORD }}
36- ORG_GRADLE_PROJECT_sonatypeProfileId : ${{ secrets.SONATYPE_PROFILE_ID }}
31+ SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
32+ SIGNING_PASSWORD : ${{ secrets.SIGNING_KEY_PASSWORD }}
33+ SIGNING_KEY_FILE_PATH : ${{ secrets.SIGNING_KEY_FILE_PATH }}
34+ OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
35+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
36+ SONATYPE_PROFILE_ID : ${{ secrets.SONATYPE_PROFILE_ID }}
Original file line number Diff line number Diff line change @@ -20,10 +20,16 @@ allprojects {
2020 }
2121}
2222
23+ ext[" signing.keyId" ] = System .getenv(" SIGNING_KEY_ID" )
24+ ext[" signing.password" ] = System .getenv(" SIGNING_PASSWORD" )
25+ ext[" signing.secretKeyRingFile" ] = System .getenv(" SIGNING_KEY_FILE_PATH" )
26+
2327apply (plugin = " io.codearte.nexus-staging" )
2428configure<NexusStagingExtension > {
2529 packageGroup = " com.faithlife"
26- stagingProfileId = properties[" sonatypeProfileId" ]?.toString() ? : " "
27- username = properties[" ossrhUsername" ]?.toString() ? : " "
28- password = properties[" ossrhPassword" ]?.toString() ? : " "
30+ stagingProfileId = System .getenv(" SONATYPE_PROFILE_ID" )
31+ numberOfRetries = 60
32+ delayBetweenRetriesInMillis = 30_000
33+ username = System .getenv(" OSSRH_USERNAME" )
34+ password = System .getenv(" OSSRH_PASSWORD" )
2935}
Original file line number Diff line number Diff line change 11object Library {
2- const val version = " 1.1.2 "
2+ const val version = " 1.1.3 "
33}
44
55const val lintVersion = " 27.1.2"
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ afterEvaluate {
7676 name = " sonatype"
7777 url = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2/" )
7878 credentials {
79- username = properties[ " ossrhUsername " ]?.toString() ? : " "
80- password = properties[ " ossrhPassword " ]?.toString() ? : " "
79+ username = System .getenv( " OSSRH_USERNAME " )
80+ password = System .getenv( " OSSRH_PASSWORD " )
8181 }
8282 }
8383 }
You can’t perform that action at this time.
0 commit comments