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

Investigate necessary steps to support Gradle 8.0 #7773

Closed edualonso closed 1 year ago

edualonso commented 1 year ago

This is an umbrella ticket for existing reported issues in connection with upgrading the project to Gradle 8.0. We will write findings here as we tackle the upgrade:

edualonso commented 1 year ago

According to this table Gradle version 8 should be paired with AGP 8. However, it is still in a preview state (see here) so we can't guarantee everything will work until they release a stable version.

Despite this, compiling the project using Gradle 8 together with AGP 7.4.1 appears to succeed without issues after solving a few deprecation and task precedence issues.

rorbech commented 1 year ago

@clementetb confirmed that the latest version of realm-java works with Gradle 8