realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.45k stars 1.75k forks source link

Android Gradle Plugin 8 Support #7804

Closed cmelchior closed 9 months ago

cmelchior commented 1 year ago

This is a meta issue tracking current issues with Android Gradle 8, current workarounds, and how we intend to fix them:

Current issues:

Roadmap for fixes

cmelchior commented 1 year ago

Realm Java 10.15.0 has been released with fixes problems with Java 17 and makes use of the new transformer APIs from Google, which also means that the minimum supported version of AGP is now 7.4.

cmelchior commented 1 year ago

10.15.0 was released too quickly and turned out to not work after all. 10.15.1 is now available on Maven Central and contains a rewrite of the problematic APIs and should thus work correctly with Java 17.

VladZawinski commented 9 months ago

is that been resolved?

cmelchior commented 9 months ago

Yes, this should be working from 10.15.0 onwards. The latest release is 10.16.1.