crowdin / crowdin-cli

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

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

Closed tippfehlr closed 1 month ago

tippfehlr commented 2 months 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 2 months ago

Thanks for reporting this!

Related file - packages/aur/pkgbuild/PKGBUILD