Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Android projects #3566

Merged
merged 6 commits into from
Aug 25, 2023
Merged

Update Android projects #3566

merged 6 commits into from
Aug 25, 2023

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Aug 25, 2023

  • Update Gradle to 8.2.1 (for non-Android project as well)
  • Update AGP to 8.0.2
    • add jvmToolchain for Android projects (it is required now)
    • removed targetSdk from shared modules (it is deprecated for com.android.library projects)
    • move "package" from manifset to "namespace " in Gradle (required by AGP)
  • rename android to androidTarget (android is deprecated in latest Kotlin)
  • update Android dependencies versions

I checked - Android/iOS/web still work. HTML/IDE projects also work after updating Gradle.

Works in the latest stable IDEA and Android Studio

updated templates:
JetBrains/compose-multiplatform-ios-android-template#21
JetBrains/compose-multiplatform-template#19
JetBrains/compose-multiplatform-desktop-template#8
JetBrains/compose-multiplatform-html-library-template#3

- Update Gradle to 8.2.1 (for non-Android project as well)
- Update AGP to 8.0.2
  - add jvmToolchain for Android projects (it is required now)
  - removed targetSdk from shared modules (it is deprecated for com.android.library projects)
  - add namespace (required by AGP), remove "package" from manifset (applicationId + namespace replace it)
- rename android to androidTarget (android is deprecated in latest Kotlin)
- rename applicationId according the template
- update Android dependencies versions
@igordmn igordmn marked this pull request as ready for review August 25, 2023 12:57
@igordmn igordmn requested a review from eymar August 25, 2023 12:57
@igordmn igordmn merged commit 0215dd9 into support/1.5.0 Aug 25, 2023
@igordmn igordmn deleted the igor.demin/android-agp branch August 25, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants