Closed Tsoccerguy3 closed 4 years ago
Fixed.
My apologies for commenting on a closed issue; I judged it better than opening a new one, as the problem is identical and it was only recently closed.
I'm seeing exactly the same missing dependency errors with everything that was added for cofh testing in commit 07dbfa7.
Using ThermalDynamics as an example, build.gradle has:
deobfCompile "cofh:ThermalDynamics:1.12.2-2.5.5.21:universal"
which causes it to try to download http://maven.covers1624.net/deobf/cofh/ThermalDynamics/1.12.2-2.5.5.21/ThermalDynamics-1.12.2-2.5.5.21.jar
That file does not exist, and in fact the whole http://maven.covers1624.net/deobf/
does not exist. But there is a deobf jar file at https://maven.covers1624.net/cofh/ThermalDynamics/1.12.2-2.5.5.21/ThermalDynamics-1.12.2-2.5.5.21-deobf.jar
Changing the line in build.gradle to compile "cofh:ThermalDynamics:1.12.2-2.5.5.21:deobf"
resolves the error, downloads the new file and the process continues.
After making the same change in build.gradle for all the new deps, I was able to compile the mod. It appears to load and run fine in minecraft.
I have a fair bit of programming experience, but have never used java or gradle. I don't know what other problems changing from deobfComplie
to compile
may cause. I can submit a PR with the changes, if you'd like.
Some of these links are broken , It a scavenger hunt to locate the dependencies , the build.gradle needs to be fixed .
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 35s
C:\Users\ASUS\Dev\sgc>gradlew build
FAILURE: Build failed with an exception.