Skip to content

Commit

Permalink
Clean build.gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekerZhayard committed Dec 28, 2019
1 parent 4c26c42 commit e6feb74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static URL[] getURLs(List<String> blackList) {
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
// <version> ForgeWrapper ZekerZhayard github com libraries
// /<version> /ForgeWrapper /ZekerZhayard /github /com /libraries
return wrapper.getParentFile().getParentFile().getParentFile().getParentFile().getParentFile().getParentFile();
}
}

0 comments on commit e6feb74

Please sign in to comment.