Upgrade to Kotlin 2.2 | Compose 1.8.3 / 1.8.2 | Serialization 1.9.0#1209
Merged
Upgrade to Kotlin 2.2 | Compose 1.8.3 / 1.8.2 | Serialization 1.9.0#1209
Conversation
Owner
mikepenz
commented
Jul 1, 2025
- Kotlin 2.2.0
- Compose 1.8.3 / Compose Multiplatform 1.8.2
- Serialization 1.9.0
- upgrade to a newer convention plugin version
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades core library versions and refactors the Gradle plugin surface to introduce an Android-specific plugin and new license-requirement behavior.
- Bump Kotlin, Compose, and Serialization dependencies and convention plugin versions
- Split the single Gradle plugin into a core plugin and an Android-specific plugin
- Add a
requireLicenseoption with strict-mode handling inAboutLibrariesTask
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| settings.gradle.kts | Upgrade MikePenz version-catalog plugin from 0.3.9 to 0.6.0 |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/BaseAboutLibrariesTask.kt | Add requireLicense input property |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesTask.kt | Implement requireLicense logic and restructure strict-mode flows |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesPluginAndroidExtension.kt | Generalize Android task registration via a callback parameter |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesPluginAndroid.kt | Add new Android-specific Gradle plugin |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesPlugin.kt | Remove old Android flag check and always call core configureAndroidTasks |
| plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesExtension.kt | Deprecate old AndroidConfig, add requireLicense default convention |
| plugin-build/plugin/build.gradle.kts | Register new aboutlibsAndroidPlugin with metadata |
| gradle/libs.versions.toml | Bump serialization, navigation, and modelBuilder versions |
| gradle.properties | Add Kotlin 2.2 and disable compatPatrouille |
| app/build.gradle.kts | Apply new Android plugin and remove deprecated flag |
| app-test/build.gradle.kts | Remove deprecated Android flag |
| README.md | Note split plugin release |
| MIGRATION.md | Document plugin split under v13.0.0 |
Comments suppressed due to low confidence (3)
plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesTask.kt:129
- Introduce unit tests covering the new
requireLicensebehavior under bothWARNandFAILstrict modes, ensuring libraries with missing licenses are handled correctly.
val librariesWithoutLicense = if (requireLicense.get()) libraries.filter { it.licenses.isEmpty() } else emptyList()
README.md:44
- Update the v13.0.0 link to point to the correct
v13.0.0tag (instead of the old12.2.4), e.g./tree/v13.0.0.
- Split Gradle Plugin | [v13.0.0](https://github.com/mikepenz/AboutLibraries/tree/12.2.4)
MIGRATION.md:3
- Add a note about the new
requireLicenseproperty and its default behavior in strict modes so users know how to adopt it during migration.
#### v13.0.0
| @get:Input | ||
| abstract val variant: Property<String?> | ||
|
|
||
| @Input |
There was a problem hiding this comment.
Use @get:Input instead of @Input to properly annotate the Kotlin property for Gradle’s incremental build inputs.
- Compose 1.8.3 / Compose Multiplatform 1.8.2 - Serialization 1.9.0
06f2a3b to
f50935f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.