Pokechu22 / WorldDownloader

Makes a copy of parts of a multiplayer world for singleplayer use (EG, for backups or renders)
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2520465-world-downloader-mod-create-backups-of-your-builds
Other
573 stars 135 forks source link

Gradle Install problem #204

Open ghost opened 3 years ago

ghost commented 3 years ago

C:\Users\Jonas\Documents\Programmieren\Git\WorldDownloader>gradlew install Downloading https://services.gradle.org/distributions/gradle-4.9-all.zip ............................................................................................................

Welcome to Gradle 4.9!

Here are the highlights of this release:

For more details see https://docs.gradle.org/4.9/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.

Daemon will be stopped at the end of the build stopping after processing Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/maven-metadata.xml Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20190215.210016-42.pom Download https://repo.maven.apache.org/maven2/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.pom Download https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom Download https://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/maven-metadata.xml

FAILURE: Build failed with an exception.

BUILD FAILED in 19s

##############################################################################################

This is what I got when I first install this. I just cloned the git link and executed the install command. What am I supposed to change? Git is pretty new to me.

Pokechu22 commented 3 years ago

I'm guessing you ran git clone https://github.com/Pokechu22/ForgeGradle-extensions and then gradlew install right after; that won't work because you're in the wrong project (you're still in the WorldDownloader folder). You need to run cd ForgeGradle-extensions to change into the ForgeGradle-extensions folder (modify as needed if you downloaded it into a different place), and then you can run gradlew install. Once you're done, you can use cd .. to go up a folder and then you can build normally.

ghost commented 3 years ago

No I ran git clonehttps://github.com/Pokechu22/WorldDownloader.git cd WorldDownloader/ gradlew install

Pokechu22 commented 3 years ago

OK, you need to clone and install ForgeGradle-extensions first, since that's used to build WDL.

git clone https://github.com/Pokechu22/ForgeGradle-extensions
cd ForgeGradle-extensions/
gradlew install

After that, you can build WDL, though you don't use install for that:

cd ..
git clone https://github.com/Pokechu22/WorldDownloader
cd WorldDownloader/
gradlew setupDecompWorkspace build

The built files will be present in the libs folder.