(2/2) @Billie you still use gradle 7.3.3 according to that log (and according to https://codeberg.org/Starfish/TinyWeatherForecastGermany/src/branch/master/gradle/wrapper/gradle-wrapper.properties), which does not even support JDK 21.
My bet is, @fdroidorg updated to JDK-21 by default – and as no specific JDK was set by their recipe, that causes the crash. So they need to explicitly install JDK 17 in that recipe, and it would, most likely, build fine again.
I've pinged one of the maintainers there, should be fixed soon™.