Build failed
Build failed
Welcome to Gradle 8.7!
Here are the highlights of this release:
- Compiling and testing with Java 22
- Cacheable Groovy script compilation
- New methods in lazy collection properties
For more details see https://docs.gradle.org/8.7/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster) Initialization. isFlatpak is not set
Configure project :app version: 5.6.1 hostOSVersion: 6.1.0-37-amd64 hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:getCommit commit: 92076a82c119b4782e8fd40543c9c95e10aaa29b
Task :app:getCommitShort programBuild: 92076a82c
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 29s 4 actionable tasks: 4 executed Initialization. isFlatpak is not set
Configure project :app version: 5.6.1 hostOSVersion: 6.1.0-37-amd64 hostOS: linux-x86_64 targetOS: linux-x86_64 theMinJavaVersion: 21 theTessdataTag: 4.1.0
Configure project :schemas theXsltTransformer: XsltProc
Task :app:getCommit commit: 92076a82c119b4782e8fd40543c9c95e10aaa29b
Task :app:getCommitShort programBuild: 92076a82c
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 976ms
error: invalid source release: 21
Action: check your Java version