Survival Inc.

Survival Inc.

7.5k Downloads

[Dev Environment] Can't build a Dev Environment

gatoborrachon opened this issue ยท 2 comments

commented

Describe the bug
When you try to run gradlew setupDecomWorkspace inside the Dev Environment, you get an error related to the plugin Palantir

To Reproduce
Steps to reproduce the behavior:

  1. Download the repo
  2. Unzip it
  3. Try to run gradlew setupDecomWorkspace
  4. See error

Expected behavior
Error: https://pastebin.com/WcaFLT9Y
Error with --stacktrace: https://pastebin.com/sbhHYyXc

commented

Oh yeah I see. The error basically says that you don't have the git repository information in the directory. You have to pull the repository using "git clone", not by downloading the zip (or tgz). You can download git for windows from here.

Alternatively (if you don't want to download git), you can just comment out/remove lines 17, 25, 82-130 and replace line 22 with something like version "X.Y.Z". That should make it work.

commented

oh, i have git, i will try the first option
EDIT 1: i got this issue: https://pastebin.com/U1yVEY9X
(i know what it means with A CurseForge project was configured without an id, but idk why it says that if there's not even the CurseMaven inside repositories)

EDIT 2: I tried the second option and worked, so i think all is fixed (or re-open the issue if you consider it correct)