Permalink
Browse files

Start work on Forge 1.13

  • Loading branch information...
me4502 committed Nov 18, 2018
1 parent e0dcd2e commit f667891337f78c7c5d78666549939188d104b630
Binary file not shown.
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
@@ -1,58 +1,53 @@
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'net.minecraftforge.gradle'
configurations.all {
resolutionStrategy {
force 'org.ow2.asm:asm:5.2'
}
}
def minecraftVersion = "1.13"
def forgeVersion = "24.0.16-1.13-pre"
dependencies {
compile project(':worldedit-core')
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
minecraft "net.minecraftforge.test:forge:${minecraftVersion}-${forgeVersion}"
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.0-rc1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = "Sponge"
url = "https://repo.spongepowered.org/maven"
}
}
ext.forgeVersion = "14.22.0.2456"
minecraft {
version = "1.12.1-${project.forgeVersion}"
mappings = "snapshot_20170815"
runDir = 'run'
mappings channel: 'snapshot', version: '20181117'
// runDir = 'run'
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
replace "%VERSION%", project.version
// replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
// replace "%VERSION%", project.version
}
project.archivesBaseName = "${project.archivesBaseName}-mc${minecraft.version}"
project.archivesBaseName = "${project.archivesBaseName}-mc${minecraftVersion}"
processResources {
from (sourceSets.main.resources.srcDirs) {
expand 'version': project.version,
'mcVersion': project.minecraft.version,
'forgeVersion': project.forgeVersion,
'mcVersion': minecraftVersion,
'forgeVersion': forgeVersion,
'internalVersion': project.internalVersion
include 'mcmod.info'
}
@@ -76,11 +71,11 @@ shadowJar {
}
}
reobf {
shadowJar {
mappingType = 'SEARGE'
}
}
//reobf {
// shadowJar {
// mappingType = 'SEARGE'
// }
//}
task deobfJar(type: Jar) {
from sourceSets.main.output

0 comments on commit f667891

Please sign in to comment.