Bumped forge version
This commit is contained in:
parent
d7ed328270
commit
162ee2c8f5
2 changed files with 9 additions and 13 deletions
20
build.gradle
20
build.gradle
|
@ -1,22 +1,16 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
jcenter()
|
||||||
maven {
|
maven {
|
||||||
name = "forge"
|
name = "forge"
|
||||||
url = "http://files.minecraftforge.net/maven"
|
url = "http://files.minecraftforge.net/maven"
|
||||||
}
|
}
|
||||||
maven {
|
|
||||||
name = "sonatype"
|
|
||||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
apply plugin: 'forge'
|
|
||||||
apply plugin: 'idea'
|
|
||||||
|
|
||||||
file "build.properties" withReader {
|
file "build.properties" withReader {
|
||||||
def prop = new Properties()
|
def prop = new Properties()
|
||||||
|
@ -30,6 +24,7 @@ archivesBaseName = "gregtech"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "${config.minecraft.version}-${config.forge.version}"
|
version = "${config.minecraft.version}-${config.forge.version}"
|
||||||
|
mappings = "snapshot_20160518"
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,12 +118,12 @@ processResources
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourceJar(type: Jar) {
|
task source(type: Jar) {
|
||||||
from sourceSets.main.allSource
|
from sourceSets.main.allSource
|
||||||
classifier = 'sources'
|
classifier = 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
task devJar(type: Jar) {
|
task dev(type: Jar) {
|
||||||
from sourceSets.main.output
|
from sourceSets.main.output
|
||||||
classifier = 'dev'
|
classifier = 'dev'
|
||||||
manifest {
|
manifest {
|
||||||
|
@ -138,5 +133,6 @@ task devJar(type: Jar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives devJar
|
archives dev
|
||||||
|
archives source
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
minecraft.version=1.10.2
|
minecraft.version=1.10.2
|
||||||
forge.version=12.18.1.2044
|
forge.version=12.18.1.2046
|
||||||
|
|
||||||
gt.version=5.09.22
|
gt.version=5.09.22
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue