Skip to content

Commit ad22540

Browse files
committed
update dependencies, migrate to dokka 2.0, rename java directories to kotlin
1 parent 58c0741 commit ad22540

21 files changed

Lines changed: 40 additions & 32 deletions

File tree

.github/workflows/android.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
check-latest: true
2626
- name: Build with Gradle
2727
env:
28-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USER }}
29-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASS }}
3028
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
3129
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
3230
REMOTE_CACHE_URL: ${{ secrets.REMOTE_CACHE_URL }}

.github/workflows/mavenCentral.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Build and Publish to the Maven Central Repository
2323
run: ./gradlew publishAndReleaseToMavenCentral
2424
env:
25-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USER }}
26-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASS }}
25+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVENCENTRALUSERNAME }}
26+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVENCENTRALPASSWORD }}
2727
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
2828
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
2929
REMOTE_CACHE_URL: ${{ secrets.REMOTE_CACHE_URL }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ This library provides an easy to consume Android Composable that will display PD
77
## Add the dependency
88

99
```Gradle
10-
implementation 'com.pnuema.android:pdfviewer:1.2.2'
10+
implementation 'com.pnuema.android:pdfviewer:1.2.3'
1111
```
1212
```Kotlin(KTS)
13-
implementation("com.pnuema.android:pdfviewer:1.2.2")
13+
implementation("com.pnuema.android:pdfviewer:1.2.3")
1414
```
1515
```TOML
16-
pdfviewer = { module = "com.pnuema.android:pdfviewer", version.ref = "1.2.2" }
16+
pdfviewer = { module = "com.pnuema.android:pdfviewer", version.ref = "1.2.3" }
1717
```
1818

1919
## Usage
File renamed without changes.

app/src/main/java/com/example/pdfviewer/MainActivity.kt renamed to app/src/main/kotlin/com/example/pdfviewer/MainActivity.kt

File renamed without changes.

app/src/main/java/com/example/pdfviewer/ui/theme/Color.kt renamed to app/src/main/kotlin/com/example/pdfviewer/ui/theme/Color.kt

File renamed without changes.

app/src/main/java/com/example/pdfviewer/ui/theme/Theme.kt renamed to app/src/main/kotlin/com/example/pdfviewer/ui/theme/Theme.kt

File renamed without changes.

app/src/main/java/com/example/pdfviewer/ui/theme/Type.kt renamed to app/src/main/kotlin/com/example/pdfviewer/ui/theme/Type.kt

File renamed without changes.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515

1616
tasks {
1717
wrapper {
18-
gradleVersion = "8.11.1"
18+
gradleVersion = "8.13"
1919
distributionType = Wrapper.DistributionType.BIN
2020
}
2121
}

gradle.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ android.nonTransitiveRClass=true
2424
org.gradle.configureondemand=false
2525
org.gradle.caching=true
2626
android.enableJetifier=false
27+
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
28+
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
2729

2830
GROUP=com.pnuema.android
29-
VERSION_NAME=1.2.2
31+
VERSION_NAME=1.2.3
3032

3133
POM_NAME=PdfViewer
3234
POM_ARTIFACT_ID=pdfviewer
@@ -45,5 +47,5 @@ POM_DEVELOPER_ID=barnhill
4547
POM_DEVELOPER_NAME=Brad Barnhill
4648
POM_DEVELOPER_URL=https://github.com/barnhill/
4749

48-
SONATYPE_HOST=DEFAULT
50+
SONATYPE_HOST=CENTRAL_PORTAL
4951
RELEASE_SIGNING_ENABLED=true

0 commit comments

Comments
 (0)