Skip to content

Commit 5a58b00

Browse files
author
Justin Brooks
committed
Prepare 1.1.3
1 parent c9fba0c commit 5a58b00

File tree

6 files changed

+21
-15
lines changed

6 files changed

+21
-15
lines changed

.github/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2222
via 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

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: publish
22

33
on:
44
release:
@@ -28,9 +28,9 @@ jobs:
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 }}

build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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+
2327
apply(plugin = "io.codearte.nexus-staging")
2428
configure<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
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object Library {
2-
const val version = "1.1.2"
2+
const val version = "1.1.3"
33
}
44

55
const val lintVersion = "27.1.2"

library/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

test.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)