crowdin / crowdin-cli

A command-line client for the Crowdin API
https://crowdin.github.io/crowdin-cli
MIT License
245 stars 91 forks source link

[AUR] gradlew fails for java != 17 #847

Open tippfehlr opened 6 days ago

tippfehlr commented 6 days ago

Describe the bug The AUR package does not build:

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'cli'.
> Could not open cp_proj generic class cache for build file '/home/jonathan/.cache/paru/clone/crowdin-cli/src/crowdin-cli/build.gradle' (/home/jonathan/.gradle/caches/8.5/scripts/hrcgm5tvxpmbkpbvbkyqoaj).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 13s

To Reproduce Steps to reproduce the behavior:

The user could also have multiple java versions installed.

andrii-bodnar commented 5 days ago

Thanks for reporting this!

Related file - packages/aur/pkgbuild/PKGBUILD