Clean build.gradle.
This commit is contained in:
parent
4c26c42435
commit
e6feb74d48
2 changed files with 1 additions and 19 deletions
18
build.gradle
18
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"
|
||||
|
|
|
@ -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
|
||||
// <version> ForgeWrapper ZekerZhayard github com libraries
|
||||
// /<version> /ForgeWrapper /ZekerZhayard /github /com /libraries
|
||||
return wrapper.getParentFile().getParentFile().getParentFile().getParentFile().getParentFile().getParentFile();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue