From 162ee2c8f5f0178deebd81463cc87cd903834266 Mon Sep 17 00:00:00 2001 From: Dragon2488 Date: Sat, 6 Aug 2016 00:05:35 +0700 Subject: [PATCH] Bumped forge version --- build.gradle | 20 ++++++++------------ build.properties | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 1b27f7a0..e25d4a0f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,22 +1,16 @@ buildscript { repositories { - mavenCentral() + jcenter() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } - maven { - name = "sonatype" - url = "https://oss.sonatype.org/content/repositories/snapshots/" - } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' + classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' } } - -apply plugin: 'forge' -apply plugin: 'idea' +apply plugin: 'net.minecraftforge.gradle.forge' file "build.properties" withReader { def prop = new Properties() @@ -30,6 +24,7 @@ archivesBaseName = "gregtech" minecraft { version = "${config.minecraft.version}-${config.forge.version}" + mappings = "snapshot_20160518" runDir = "run" } @@ -123,12 +118,12 @@ processResources } } -task sourceJar(type: Jar) { +task source(type: Jar) { from sourceSets.main.allSource classifier = 'sources' } -task devJar(type: Jar) { +task dev(type: Jar) { from sourceSets.main.output classifier = 'dev' manifest { @@ -138,5 +133,6 @@ task devJar(type: Jar) { } artifacts { - archives devJar + archives dev + archives source } \ No newline at end of file diff --git a/build.properties b/build.properties index d986ceff..decfcfec 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ minecraft.version=1.10.2 -forge.version=12.18.1.2044 +forge.version=12.18.1.2046 gt.version=5.09.22