Skip to content

Commit c6757cb

Browse files
authored
fix: Library not built for iOS. (#9)
* refactor: Update CMP to 1.7.3, Kotlin to 2.0.21, and more. * fix: Change build environment to macos.
1 parent 033eb51 commit c6757cb

File tree

14 files changed

+226
-463
lines changed

14 files changed

+226
-463
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,20 @@ jobs:
1515
url: ${{ steps.deployment.outputs.page_url }}
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- name: Checkout
19+
uses: actions/checkout@v4
1920

2021
- name: Set up JDK
2122
uses: actions/setup-java@v4
2223
with:
2324
java-version: '17'
2425
distribution: 'temurin'
2526

26-
- name: Validate Gradle Wrapper
27-
uses: gradle/actions/wrapper-validation@v3
28-
2927
- name: Setup Gradle
30-
uses: gradle/actions/setup-gradle@v3
31-
with:
32-
gradle-home-cache-cleanup: true
33-
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
28+
uses: gradle/actions/setup-gradle@v4
3429

3530
- name: Build WasmJs
36-
run: ./gradlew :sample:demo:wasmJsBrowserDistribution --no-configuration-cache
31+
run: ./gradlew :sample:demo:wasmJsBrowserDistribution
3732

3833
- name: Upload Pages artifact
3934
uses: actions/upload-pages-artifact@v3

.github/workflows/publish.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,22 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
9+
runs-on: macOS-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- name: Checkout
12+
uses: actions/checkout@v4
1213

1314
- name: Set up JDK
1415
uses: actions/setup-java@v4
1516
with:
1617
java-version: '17'
1718
distribution: 'temurin'
1819

19-
- name: Validate Gradle Wrapper
20-
uses: gradle/actions/wrapper-validation@v3
21-
2220
- name: Setup Gradle
23-
uses: gradle/actions/setup-gradle@v3
24-
with:
25-
gradle-home-cache-cleanup: true
26-
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
21+
uses: gradle/actions/setup-gradle@v4
2722

2823
- name: Publish
29-
run: ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
24+
run: ./gradlew publishAllPublicationsToMavenCentral
3025
env:
3126
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3227
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2025 oikvpqya Yuya
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ FastScroller for Compose Multiplatform is inspired by the following libraries:
7979
## License
8080

8181
```
82-
Copyright 2024 The Android Open Source Project
83-
Portions 2024 oikvpqya Yuya
82+
Copyright 2025 The Android Open Source Project
83+
Portions 2025 oikvpqya Yuya
8484
8585
Licensed under the Apache License, Version 2.0 (the "License");
8686
you may not use this file except in compliance with the License.

fastscroller-core/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ android {
7070
compileSdk = 34
7171
namespace = "io.github.oikvpqya.compose.fastscroller"
7272

73-
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
74-
7573
defaultConfig {
7674
minSdk = 21
7775
}

fastscroller-indicator/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ android {
5151
compileSdk = 34
5252
namespace = "io.github.oikvpqya.compose.fastscroller"
5353

54-
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
55-
5654
defaultConfig {
5755
minSdk = 21
5856
}

fastscroller-material/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ android {
5454
compileSdk = 34
5555
namespace = "io.github.oikvpqya.compose.fastscroller"
5656

57-
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
58-
5957
defaultConfig {
6058
minSdk = 21
6159
}

fastscroller-material3/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ android {
5454
compileSdk = 34
5555
namespace = "io.github.oikvpqya.compose.fastscroller"
5656

57-
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
58-
5957
defaultConfig {
6058
minSdk = 21
6159
}

gradle/libs.versions.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[versions]
22
androidGradlePlugin = "8.5.0"
3-
jetbrainsCompose = "1.7.0-alpha01"
4-
# https://github.com/JetBrains/compose-multiplatform/issues/5045
5-
kotlin = "2.0.10-RC-518"
3+
jetbrainsCompose = "1.7.3"
4+
kotlin = "2.0.21"
65
kotlinxCoroutines = "1.8.1"
76
vanniktechMavenPublish = "0.29.0"
87

98
androidxActivity = "1.9.0"
109
androidxCore = "1.13.1"
11-
androidxCompose = "1.7.0-beta03"
10+
androidxCompose = "1.7.6"
1211

1312
[libraries]
1413
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" }

0 commit comments

Comments
 (0)