anatawa12 / ForgeGradle-1.2

This is only for FG_1.2(for minecraft 1.7.10). Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
79 stars 29 forks source link

Add Support for 1.6.4 Forge Gradle #219

Open jredfox opened 1 month ago

jredfox commented 1 month ago

I fallowed all the instructions that worked for 1.7.10 but for some odd reason it doesn't work for forge gradle 1.6.4. I also tried downgrading java to java 7 with no luck. I tried appending "-1.6.4" under the minecraft section and it doesn't work with or without it.

build.gradle.txt gradle-wrapper.properties.txt

anatawa12 commented 1 month ago

I think 1.6.4 development is with sone other versions of ForgeGradle, isn't it?

Could you let me know original build.gradle and error message you got?

jredfox commented 1 month ago

original message

Unzipping C:\Users\jredfox\.gradle\wrapper\dists\gradle-4.4.1-bin\7pth8eae7h3dc5vcl4p1gpja4r\gradle-4.4.1-bin.zip to C:\Users\jredfox\.gradle\wrapper\dists\gradle-4.4.1-bin\7pth8eae7h3dc5vcl4p1gpja4r
Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
        at org.gradle.wrapper.Install.createDist(Install.java:44)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:58)
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:231)
        at java.util.zip.ZipFile.<init>(ZipFile.java:156)
        at java.util.zip.ZipFile.<init>(ZipFile.java:170)
        at org.gradle.wrapper.Install.unzip(Install.java:157)
        at org.gradle.wrapper.Install.access$400(Install.java:26)
        at org.gradle.wrapper.Install$1.call(Install.java:67)
        at org.gradle.wrapper.Install$1.call(Install.java:44)
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
        ... 3 more
jredfox commented 1 month ago

[PATCHED]forge-1.6.4-9.11.1.964-src.zip the patched forge 1.6.4 MDK I had archived says

FAILURE: Build failed with an exception.

* What went wrong:
The setupDecompWorkspace will only work with Java 7! This is fixed in ForgeGradle 1.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 9.601 secs