AutoMQ/automq

[BUG] Cannot build - Is anything preset missing?

tisonkun opened this issue · 2 comments

It seems to build this project depends on some non-public-available assets?

$ automq-for-kafka git:(develop) java -version
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Zulu 8.70.0.23-CA-macos-aarch64) (build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Zulu 8.70.0.23-CA-macos-aarch64) (build 25.372-b07, mixed mode)

$  automq-for-kafka git:(develop) ./gradlew assemble

> Configure project :
Starting build with version 3.4.0 (commit id 164876bf) using Gradle 7.6, Java 1.8 and Scala 2.13.10
Build properties: maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0

> Task :kshell-sdk:compileJava FAILED
> Task :generator:compileJava FAILED
> Task :s3stream:compileJava FAILED

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':s3stream:compileJava'.
> invalid source release: 11

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':kshell-sdk:compileJava'.
> invalid source release: 11

* 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.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':generator:compileJava'.
> invalid source release: 11

* 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 2s
19 actionable tasks: 3 executed, 16 up-to-dat

No. Using JDK 11 works.

JDK 17 is required.