Could not determine the dependencies of task ':shadowJar'.
cocoonkid opened this issue · 2 comments
cocoonkid commented
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
Java: 16.0.2 JVM: 16.0.2+7(Azul Systems, Inc.) Arch: aarch64
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Unable to download toolchain matching these requirements: {languageVersion=8, vendor=any, implementation=vendor-specific}
> Unable to download toolchain. This might indicate that the combination (version, architecture, release/early access, ...) for the requested JDK is not available.
> Could not read 'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/mac/aarch64/jdk/hotspot/normal/adoptopenjdk' as it does not exist.
* 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 1m 31s
Time: 0h:01m:32s
Not sure what the Issue is. I am probably doing smth wrong?
I am trying this on MacOS 12.2.1 M1 Arm64
synnkfps commented
Try using Java 1.8
I think our project doesn't support newer versions
Sorry for the late reply :p
JohnShiozo commented
closing as stale