Skip to content

Android: Support Kotlin 1.7 #832

Closed
Closed
@tido64

Description

@tido64

@tido64 so the problem is that test-app has bumped to Kotlin 1.7. So we have to solutions:

  • Use KSP instead of KAPT for annotation processing. This requires few steps, like described in this SO post.
  • Update Room to 2.5.0-alpha02, which has Kotlin 1.7 compatibility

With first one, it's hard to assess how much of impact it would be on project that'd depend on AsyncStorage, which are still on lower version of Kotlin. It'd be good to test this KSP integration with lower Kt version to see if it's still compatible.

Second one has drawback of Room requiring compilation/target sdk of 32. That means developer should migrate in project to those version and check compatibility of the rest of the app.

I'd be in favor on going with first approach, but would have to test the scenario first.

Originally posted by @krizzu in #823 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions