Closed Pokechu22 closed 6 years ago
The problematic change: gradle/gradle@d7c6df20509781fedacfc9aea24b1f71e88ec768, which made it so that the call to exec.workingDir(delayedFile(REPLACE_RUN_DIR));
is evaluated immediately.
I'm experiencing this issue too.
Oddly this issue didn't occur to me, though it did for a friend of mine. Weird.
Same for me.
Following the steps outlined above produces the same result for me too, latest java version, macOS
Havent had time to look into this, if someone wants to write up and test a PR go for it. Until then just dont use 4.5, use something less.
Still occurs with 4.6 unfortunately.
Pull request #480 comes with a fix.
Anyone going to merge liach's pr? Still having this issue on 4.6.
Same here, anyone wanna merge it soon?
Gradle 4.6, failure still present.
@tomasbrod Upload log. Two things:
Oh, I thought this was gradle issue, not forge. It is the same issue, because though I am using the newest gradle, I need older ForgeGradle (for 1.7.10) and that does not have the patches.
Pretty sure either I or @liach can take some time to backport #480 to the older FG versions :D
Hm Well seems #480 was backported by someone else to 2.2, in this case just 2.1 and 2.0 would remain for it to be backported (Not even sure anyone is still using 1.2 of FG)
Download the latest forge MDK.
Check
./gradlew -v
to see that the version is 2.14.Run
./gradlew build
→ everything worksUpdate the gradle wrapper to 4.4.1:
./gradlew wrapper --gradle-version=4.4.1
Run
./gradlew build
→ everything worksUpdate the gradle wrapper to 4.5:
./gradlew wrapper --gradle-version=4.5
Run
./gradlew build
→ failureThe build fails with the following message (
runDir
is still specified in build.gradle; build.gradle hasn't been edited at all during this process):Full log, with
--debug --stacktrace
: https://gist.github.com/Pokechu22/b91a8447d6977cb9a376b488c6622871