Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Update Android project #19

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Update Android project #19

merged 1 commit into from
Aug 25, 2023

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Aug 25, 2023

  • update versions
  • update Gradle
  • targetSdk in library projects is deprecated

- update versions
- update Gradle
- targetSdk in library projects is deprecated
@igordmn igordmn merged commit 20bc3ff into support/1.5.0 Aug 25, 2023
igordmn added a commit to JetBrains/compose-multiplatform that referenced this pull request 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants