Skip to content

Use Java 17 for it.reyboz.bustorino build

Fabio Mazza requested to merge fabmazz/fdroiddata:master into master

Since the inclusion of new libraries which are built using Java 17, the error pops up in the build (https://f-droid.org/repo/it.reyboz.bustorino_51.log.gz):

Could not load custom lint check jar file /home/vagrant/.gradle/caches/transforms-3/4270c0ca543a5db916b15e851bc2831c/transformed/fragment-1.6.1/jars/lint.jar
java.lang.UnsupportedClassVersionError: androidx/fragment/lint/FragmentIssueRegistry has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Using JDK 17 fixes this problem.

Merge request reports

Loading