diff --git a/build.gradle b/build.gradle index 44dc7b3..8f41c50 100644 --- a/build.gradle +++ b/build.gradle @@ -1,21 +1,3 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * This is a general purpose Gradle build. - * Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds/ - */ - -buildscript { - repositories { - mavenCentral() - jcenter() - maven { - name = "forge" - url = "https://files.minecraftforge.net/maven" - } - } -} - apply plugin: "base" apply plugin: "java" apply plugin: "idea" diff --git a/src/main/java/io/github/zekerzhayard/forgewrapper/Utils.java b/src/main/java/io/github/zekerzhayard/forgewrapper/Utils.java index 6c99888..4420253 100644 --- a/src/main/java/io/github/zekerzhayard/forgewrapper/Utils.java +++ b/src/main/java/io/github/zekerzhayard/forgewrapper/Utils.java @@ -35,7 +35,7 @@ public class Utils { public static File getLibrariesDir() throws URISyntaxException { File wrapper = new File(Utils.class.getProtectionDomain().getCodeSource().getLocation().toURI()); // see https://github.com/MinecraftForge/MinecraftForge/blob/863ab2ca184cf2e2dfa134d07bfc20d6a9a6a4e8/src/main/java/net/minecraftforge/fml/relauncher/libraries/LibraryManager.java#L151 - // ForgeWrapper ZekerZhayard github com libraries + // / /ForgeWrapper /ZekerZhayard /github /com /libraries return wrapper.getParentFile().getParentFile().getParentFile().getParentFile().getParentFile().getParentFile(); } }