Build issues
Cloning into 'audiveris'... Switched to a new branch 'development' branch 'development' set up to track 'origin/development'. Already up to date.
Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:clean UP-TO-DATE Task :flatpak:clean UP-TO-DATE Task :schemas:clean UP-TO-DATE Task :windows-installer:clean UP-TO-DATE
BUILD SUCCESSFUL in 894ms 4 actionable tasks: 4 up-to-date
Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:git_build programBuild: 3e1f52441
Task :app:generateProgramId > Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:compileJava'.
error: invalid source release: 21
- 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 1s 3 actionable tasks: 3 executed
Configure project :app hostOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:git_build programBuild: 3e1f52441
Task :app:generateProgramId > Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:compileJava'.
error: invalid source release: 21
- 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 1s 3 actionable tasks: 3 executed
Exit code: 1
error: invalid source release: 21
Sounds like you have a too old Java version, not able to support the 21 version. Please check with:
java -version
Configure project :app hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 version: 5.4 tag: 5.4 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:git_build programBuild: c664e2bcc
Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:compileJava'.
error: invalid source release: 21
- 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 15s 3 actionable tasks: 3 executed
Configure project :app hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 version: 5.4 tag: 5.4 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:git_build programBuild: c664e2bcc
Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:compileJava'.
error: invalid source release: 21
- 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 1s 3 actionable tasks: 3 executed
Version 5.4 has just been released. Both master and development branches now require Java 21.