I am trying to migrate a CMP project from Gradle t...
# amper
e
I am trying to migrate a CMP project from Gradle to Amper reading these docs https://github.com/JetBrains/amper/blob/release/0.7/docs/GradleMigration.md and I am stuck after step 2 because some dependencies require a newer AGP version, for example:
Copy code
13 issues were found when checking AAR metadata:
1.  Dependency 'androidx.navigation:navigation-compose-android:2.9.1' requires Android Gradle plugin 8.6.0 or higher.
This build currently uses Android Gradle plugin 8.2.0.
What are my options here?
j
Ah, sorry you're facing this. These steps are legacy migration steps to a flavor of Amper that worked as a Gradle plugin (commonly referred to as "Gradle-based Amper"). This Amper flavor was deprecated in 0.7.0 and will be removed in Amper 0.8.0. I suggest you directly migrate to standalone Amper if you can. You can follow this old tutorial to write the Amper configuration files somehow, but ignore any change in Gradle files, and use the Amper wrappers (see Usage).
e
I see, thank you. I imagine the documentation will be updated at some point? As migration from Gradle is going to be a very common use case
j
Yes, we need to update this.
🙏 1