core subject was not included (installed JDK 22 and downloaded ZIP from Code)

Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100% Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details It seems that the core sub project was not included... please make sure that when you were cloning the repo, you were using the --recurse-submodules flag on git. and if its too late now to re-clone the project, please grab the core sub project in whatever way you can from https://gitlab.com/jeseibel/distant-horizons-core.git If you still need help with compiling, please read the Readme.md FAILURE: Build failed with an exception. * Where: Settings file 'C:\Users\Elf\Downloads\coreSubProjects\distant-horizons-main\settings.gradle' line: 55 * What went wrong: A problem occurred evaluating settings 'distant-horizons-main'.
coreSubProject not found
* 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 11s
GitLab
James Seibel / Distant-Horizons-Core · GitLab
This repo holds the core code for the Distant Horizons mod.
4 Replies
MayBike
MayBike7mo ago
add --recurse-submodules behind clone command that'll pull sub project automatically
Jysoul
JysoulOP7mo ago
I just realised I did not download from Core, which I have done so. Upon extracing, there is no gradlew file within to execute. So I'll go back to the other download and do as you noted. FAILURE: Build failed with an exception. * What went wrong: Could not open cp_settings generic class cache for settings file Looks to be gradlew incompatibility with JDK 22. based on https://docs.gradle.org/current/userguide/compatibility.html gradlew --version ------------------------------------------------------------ Gradle 8.5 ------------------------------------------------------------ Build time: 2023-11-29 14:08:57 UTC Revision: 28aca86a7180baa17117e0e5ba01d8ea9feca598 Kotlin: 1.9.20 Groovy: 3.0.17 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM: 22.0.1 (Oracle Corporation 22.0.1+8-16) OS: Windows 11 10.0 amd64 C:\Users\Elf\Downloads\coreSubProjects\distant-horizons-main\distant-horizons> Is it easy to upgrade to Gradle 8.7 and how or simpler to install JDK 21?
MayBike
MayBike7mo ago
jdk21's easier
Jysoul
JysoulOP7mo ago
ok thanks
Want results from more Discord servers?
Add your server