Build failure
Trying to update the AUR package from 0.21-1 to 0.21-2 on Manjaro:
> Could not open cp_proj generic class cache for build file '/home/fabian/.cache/yay/chatty/src/chatty-0.21/build.gradle' (/home/fabian/.cache/yay/chatty/src/.gradle/caches/7.5.1/scripts/3gblj88r5mxlk9vl0o0isc0zt).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63```
your gradle version does not support java 19, use at least gradle-7.6; milestone 1 at the earliest.
Then that should be a dependency. Also, Gradle 7.6 doesn't exist yet: https://docs.gradle.org/current/release-notes.html
Apparently there are pre-releases: https://github.com/gradle/gradle/releases
A bit weird to depend on that version if it isn't even fully released yet, but OK, I'll just wait, I guess.
Then that should be a dependency.
uh, there is no dependency on anything newer then java 8 here as far as i can tell, but i haven't built the newest version yet
That's the thing, if it can't be installed without another package, that other package should be marked as a dependency.
Gradle 8 is out this week and seems to break building again. Downgrading to Gradle 7.6 works for building. It would seem that Chatty currently only builds on 7.6, nothing newer or older.
Gradle 8 is out this week and seems to break building again. Downgrading to Gradle 7.6 works for building. It would seem that Chatty currently only builds on 7.6, nothing newer or older.
Why are you not using the Gradle Wrapper, which ensures that the build happens on the Gradle version it was made for? Are you trying to build on a Java version that isn't compatible with older Gradle versions?
Gradle 8 is out this week and seems to break building again. Downgrading to Gradle 7.6 works for building. It would seem that Chatty currently only builds on 7.6, nothing newer or older.
gradle 8 would be blocked by https://github.com/johnrengelman/shadow/issues/820 at least.
Why are you not using the Gradle Wrapper, which ensures that the build happens on the Gradle version it was made for? Are you trying to build on a Java version that isn't compatible with older Gradle versions?
seems likely, most distros already have moved to java 17, but some have also java 19, as the OP for example, java 8 isn't all that common anymore and 11 is slowly being phased out in favour of 17
Looks like it's failing for gradle 7.6 now too. I've installed many times over the last few months on it, with no issues.