try again
This commit is contained in:
parent
dfb6960df9
commit
d4fb5b599a
1 changed files with 2 additions and 18 deletions
20
build.gradle
20
build.gradle
|
@ -2,28 +2,15 @@ defaultTasks 'fullBuild'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
maven { url = "https://repo1.maven.org/maven2/" }
|
||||||
// [HTTPS FIX] Replace mavenCentral() with the code block below
|
|
||||||
maven {
|
|
||||||
url "https://repo1.maven.org/maven2"
|
|
||||||
}
|
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name = "forge"
|
name = "forge"
|
||||||
url = "https://files.minecraftforge.net/maven"
|
url = "https://files.minecraftforge.net/maven"
|
||||||
}
|
}
|
||||||
maven {
|
|
||||||
name = "forge2"
|
|
||||||
url = "https://maven.minecraftforge.net/"
|
|
||||||
}
|
|
||||||
maven {
|
maven {
|
||||||
name = "sonatype"
|
name = "sonatype"
|
||||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||||
}
|
}
|
||||||
|
|
||||||
flatDir {
|
|
||||||
dirs 'libs'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||||
|
@ -35,10 +22,6 @@ repositories {
|
||||||
name 'CB Maven FS'
|
name 'CB Maven FS'
|
||||||
url "http://chickenbones.net/maven/"
|
url "http://chickenbones.net/maven/"
|
||||||
}
|
}
|
||||||
maven {
|
|
||||||
name = "forge2"
|
|
||||||
url = "https://maven.minecraftforge.net/"
|
|
||||||
}
|
|
||||||
maven {
|
maven {
|
||||||
name 'ForgeFS'
|
name 'ForgeFS'
|
||||||
url 'http://files.minecraftforge.net/maven'
|
url 'http://files.minecraftforge.net/maven'
|
||||||
|
@ -94,6 +77,7 @@ targetCompatibility = '1.8'
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = config.minecraft_version + "-" + config.forge_version
|
version = config.minecraft_version + "-" + config.forge_version
|
||||||
|
runDir = "eclipse"
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources
|
processResources
|
||||||
|
|
Loading…
Reference in a new issue