The source & target compatibility of all Roborazzi JAR/AAR artifacts remains at Java 11. This update to Java 17 could improve build speed a little, but primarily it paves the way towards matching the minimum Java version imposed by Android Gradle Plugin (since 8.0.0). Also, we will need to update to 17 eventually to address a failure we're seeing in the roborazzi-junit5 PR, which relies on an extension that was built against Java 17 internally.
Remove all usages of JavaVersion.VERSION_11 and move them into the central build.gradle build script. Unfortunately, this still needs to be duplicated for the include-build projects, but at least those can use the same version definitions from the version catalog.
The source & target compatibility of all Roborazzi JAR/AAR artifacts remains at Java 11. This update to Java 17 could improve build speed a little, but primarily it paves the way towards matching the minimum Java version imposed by Android Gradle Plugin (since 8.0.0). Also, we will need to update to 17 eventually to address a failure we're seeing in the
roborazzi-junit5
PR, which relies on an extension that was built against Java 17 internally.Remove all usages of
JavaVersion.VERSION_11
and move them into the centralbuild.gradle
build script. Unfortunately, this still needs to be duplicated for theinclude-build
projects, but at least those can use the same version definitions from the version catalog.