Skip to content

Commit 09af193

Browse files
authored
Merge pull request #1274 from mikepenz/develop
dev -> main
2 parents 305d56e + 3afe40c commit 09af193

File tree

16 files changed

+55
-27
lines changed

16 files changed

+55
-27
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout the repo
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424

2525
- uses: actions/setup-java@v5
2626
with:
@@ -35,7 +35,7 @@ jobs:
3535
uses: gradle/actions/setup-gradle@v5
3636

3737
- name: Cache konan
38-
uses: actions/cache@v4
38+
uses: actions/cache@v5
3939
with:
4040
path: ~/.konan
4141
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
@@ -92,7 +92,7 @@ jobs:
9292
runs-on: macos-latest
9393
steps:
9494
- name: Checkout
95-
uses: actions/checkout@v5
95+
uses: actions/checkout@v6
9696
with:
9797
fetch-depth: 100
9898

@@ -165,14 +165,14 @@ jobs:
165165
find . -name "*-release.aab" -type f -exec cp {} "artifacts" \;
166166
167167
- name: Archive Artifacts
168-
uses: actions/upload-artifact@v4
168+
uses: actions/upload-artifact@v6
169169
with:
170170
name: "App-Artifacts"
171171
path: artifacts/*
172172

173173
- name: Build Changelog
174174
id: github_release
175-
uses: mikepenz/release-changelog-builder-action@v5
175+
uses: mikepenz/release-changelog-builder-action@v6
176176
if: startsWith(github.ref, 'refs/tags/')
177177
with:
178178
configuration: ".github/config/configuration.json"

.github/workflows/gradle-dependency-submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: write
1212
steps:
1313
- name: 'Checkout Repository'
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@v6
1515

1616
- uses: actions/setup-java@v5
1717
with:

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
3434

3535
- name: Setup Pages
3636
uses: actions/configure-pages@v5

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ docs
1919
/.bundle/
2020
/vendor/*
2121
/.kotlin/
22+
23+
iosApp/iosApp.xcodeproj

MIGRATION.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
### Upgrade Notes
22

3+
#### v13.2.0
4+
5+
- **Breaking Change**: Some underlying APIs start to require API 23 instead of 21.
6+
- `org.jetbrains.compose.components.resources`
7+
- **Dependency Upgrade**: Kotlin 2.3.0
8+
- **Dependency Upgrade**: Compose 1.10.x
9+
10+
#### v13.1.0
11+
12+
- **Behaviour Change**: The `Gradle Plugin` now by default enables MERGING duplicates with EXACT matches. In prior releases, duplicates would be kept.
13+
```kotlin
14+
// To enable the prior behavior, you can simply configure this in your build script
15+
aboutLibraries {
16+
library {
17+
duplicationMode = DuplicateMode.KEEP
18+
duplicationRule = DuplicateRule.SIMPLE
19+
}
20+
}
21+
22+
```
23+
24+
325
#### v13.0.0
426

527
- **Breaking Change**: Deprecated APIs from v12.x.y were removed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ This library collects dependency details, including licenses at compile time, an
4141

4242
## Latest releases 🛠
4343

44+
- Compose 1.10.x | [v13.2.0](https://github.com/mikepenz/AboutLibraries/tree/13.2.0)
4445
- Compose 1.9.x | Split Gradle Plugin | [v13.1.0](https://github.com/mikepenz/AboutLibraries/tree/13.1.0)
4546
- Compose 1.8.x | Refined Compose UI Design | [v12.2.4](https://github.com/mikepenz/AboutLibraries/tree/12.2.4)
46-
- Compose UI updates | Gradle Plugin refresh | [v12.0.1](https://github.com/mikepenz/AboutLibraries/tree/12.0.1)
4747

4848
## Gradle Plugin
4949

@@ -82,6 +82,9 @@ id("com.mikepenz.aboutlibraries.plugin")
8282
To improve configuration cache compatibility and reduce unintended behavior, the auto registering as part of the Android build was moved into its own plugin in v13.x.y.
8383

8484
```kotlin
85+
// Root build.gradle.kts
86+
id("com.mikepenz.aboutlibraries.plugin.android") version "${latestAboutLibsRelease}" apply false
87+
8588
// App build.gradle.kts
8689
id("com.mikepenz.aboutlibraries.plugin.android")
8790
```

aboutlibraries-core/src/androidMain/kotlin/com/mikepenz/aboutlibraries/util/AndroidExtensions.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fun Libs.Builder.withJson(byteArray: ByteArray): Libs.Builder {
1616
}
1717

1818
/**
19-
* Auto discover the generated library definition data by the default name and location
19+
* Auto-discover the generated library definition data by the default name and location
2020
* `res/raw/aboutlibraries.json`
2121
*
2222
* Please remember to disable resource shrinking when using this API.
@@ -25,7 +25,7 @@ fun Libs.Builder.withJson(byteArray: ByteArray): Libs.Builder {
2525
* ```
2626
* <?xml version="1.0" encoding="utf-8"?>
2727
* <resources xmlns:tools="http://schemas.android.com/tools"
28-
* tools:keep="@raw/aboutlibraries.json" />
28+
* tools:keep="@raw/aboutlibraries" />
2929
* ```
3030
*
3131
* @param ctx context used to retrieve the resource
@@ -87,4 +87,4 @@ internal fun <T> JSONObject?.forEachObject(block: JSONObject.(key: String) -> T)
8787
targetList.add(block.invoke(getJSONObject(it), it))
8888
}
8989
return targetList
90-
}
90+
}

aboutlibraries/src/androidMain/kotlin/com/mikepenz/aboutlibraries/viewmodel/LibsViewModel.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
package com.mikepenz.aboutlibraries.viewmodel
44

5-
import android.annotation.SuppressLint
65
import android.content.Context
76
import android.content.pm.PackageInfo
87
import android.os.Build
@@ -24,7 +23,7 @@ import kotlinx.coroutines.withContext
2423

2524
class LibsViewModel(
2625
// TODO replace with non ctx solution?
27-
@SuppressLint("StaticFieldLeak") private val ctx: Context,
26+
@Suppress("StaticFieldLeak") private val ctx: Context,
2827
internal val builder: LibsBuilder, // ui module
2928
private val libsBuilder: Libs.Builder,
3029
) : ViewModel() {

app/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ dependencies {
134134
// used only tho showcase multi flavor support
135135
"stagingImplementation"(libs.okhttp.core)
136136

137+
// https://mvnrepository.com/artifact/androidx.compose.material/material-icons-core
138+
implementation("androidx.compose.material:material-icons-extended:1.7.8")
139+
137140
// used to test matching of license names
138141
// implementation("com.github.librepdf:openpdf:1.3.43")
139142
// implementation("com.google.android.play:app-update-ktx:2.1.0")

app/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
com.mikepenz.multiplatform.enabled=true
22
com.mikepenz.targets.enabled=false
3-
com.mikepenz.hotreload.enabled=true
3+
com.mikepenz.hotreload.enabled=true
4+
com.mikepenz.android.minSdk=23

0 commit comments

Comments
 (0)