From 961c10ebadc23fb0c081665817a8d0bc6c65d08c Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 19 Sep 2015 22:06:42 +1000 Subject: [PATCH] Cleanup in an attempt to make build.gradle more readable and fix brokenness --- build.gradle | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/build.gradle b/build.gradle index 33213fca4..ee351017c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,9 @@ buildscript { repositories { - mavenCentral() + jcenter() maven { - name = 'sonatype-nexus-public' - url = 'https://oss.sonatype.org/content/repositories/public/' - } - maven { - name = 'forge-repo' - url = 'http://files.minecraftforge.net/maven/' + name = "forge" + url = "http://files.minecraftforge.net/maven" } } dependencies { @@ -16,14 +12,7 @@ buildscript { } apply plugin: 'net.minecraftforge.gradle.forge' -apply plugin: "maven" - -repositories { - flatDir { - name "fileRepo" - dirs "repo" - } -} +apply plugin: 'maven' // define the properties file ext.configFile = file "build.properties" @@ -47,13 +36,6 @@ minecraft { // add some stuff to the version version = "${config.minecraft_version}-${config.mod_version}.${System.getenv().BUILD_NUMBER}" -// Source compiler configuration -tasks.withType(JavaCompile) { - //options.compilerArgs += [ '-Xlint:all', '-Xlint:-path', '-Xlint:-processing' ] - //options.deprecation = true - options.encoding = 'utf8' -} - def commonManifest = { attributes 'FMLCorePlugin': 'biomesoplenty.common.asm.BOPLoadingPlugin' attributes 'FMLCorePluginContainsFMLMod': 'true'