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

[WIP] Update to Kotlin 2.0 #868

Draft
wants to merge 11 commits into
base: dev
Choose a base branch
from
Draft

[WIP] Update to Kotlin 2.0 #868

wants to merge 11 commits into from

Conversation

LionZXY
Copy link
Member

@LionZXY LionZXY commented May 27, 2024

Background

Kotlin 2.0 is the next generation of Kotlin language development. The transition to it should be smooth, but we are using compiler plugins and there may be problems because of that
More info: square/anvil#733

Changes

  • Update kotlin to 2.0
  • Update anvil to 2.5.0-beta09
  • Update anvil-utils
  • Migrate to Kotlin Compose gradle plugin

Test plan

Try to build app

LionZXY and others added 8 commits May 23, 2024 22:45
**Background**

Here I'm upgrading anvil-utils to `0.2.0-beta01`. It supports KSP.

**Changes**

- Upgrade anvil-utils to `0.2.0-beta01`.
- Migrate Kotlin configuration to new DSL.
- Fix errors introduced by migration to K2 (lambdas can't have named
arguments)
- Disable AGP and KMP possible incompatibility warning
@LionZXY
Copy link
Member Author

LionZXY commented May 29, 2024

Waiting for a fix: gradle/gradle#27099

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.

None yet

3 participants