fr1kin / ForgeHax

A Minecraft cheat that runs as a Forge mod
MIT License
486 stars 128 forks source link

1.15 cannot be build #373

Closed LoafedBun closed 3 years ago

LoafedBun commented 3 years ago

I can build 1.16 version but not 1.15 because the cmd say there is a problem with build.gradlew on line 5

fr1kin commented 3 years ago

and that error is...?

LoafedBun commented 3 years ago

when I put git into environment variable

Configure project : fatal: not a git repository (or any of the parent directories): .git

FAILURE: Build failed with an exception.

fr1kin commented 3 years ago

You need to clone the repository with git... don't download the project as a zip

LoafedBun commented 3 years ago

cloning doesn't clone 1.15 so I download and extract the 1.15 zip

fr1kin commented 3 years ago

git clone <url> -b 1.15

LoafedBun commented 3 years ago

Configure project : New Dep: net.minecraftforge:forge:1.15.2-31.2.47_mapped_snapshot_20200126-1.15.1

FAILURE: Build failed with an exception.

BUILD FAILED in 14s

fr1kin commented 3 years ago

you dont need to run setupDecompWorkspace

LoafedBun commented 3 years ago

BUILD FAILED in 32s 1 actionable task: 1 executed

fr1kin commented 3 years ago

you need jdk8 or forge maven is griefed (again)

LoafedBun commented 3 years ago

I have jdk 8 java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

fr1kin commented 3 years ago

I just cloned the branch and ran ./gradlew build successfully. No clue where you are having problems.

fr1kin commented 3 years ago

Anyway, I have assisted you as much as I can. You're on your own now.

LoafedBun commented 3 years ago

I forget to delete the file that download as zip and when I deleted it it build successfully thanks bro!