3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-02 17:40:09 +01:00

Start work on Forge 1.13

Dieser Commit ist enthalten in:
Matthew Miller 2018-11-18 17:47:43 +10:00
Ursprung 5de8e0852c
Commit e6d5ce8165
3 geänderte Dateien mit 22 neuen und 27 gelöschten Zeilen

Binäre Datei nicht angezeigt.

Datei anzeigen

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

Datei anzeigen

@ -1,17 +1,17 @@
buildscript { buildscript {
repositories { repositories {
mavenLocal()
mavenCentral() mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" } maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter() jcenter()
} }
dependencies { 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 { configurations.all {
resolutionStrategy { resolutionStrategy {
@ -19,40 +19,35 @@ configurations.all {
} }
} }
def minecraftVersion = "1.13"
def forgeVersion = "24.0.16-1.13-pre"
dependencies { dependencies {
compile project(':worldedit-core') 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' testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.0-rc1'
} }
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
repositories {
maven {
name = "Sponge"
url = "https://repo.spongepowered.org/maven"
}
}
ext.forgeVersion = "14.22.0.2456"
minecraft { minecraft {
version = "1.12.1-${project.forgeVersion}" mappings channel: 'snapshot', version: '20181117'
mappings = "snapshot_20170815" // runDir = 'run'
runDir = 'run'
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java" // replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
replace "%VERSION%", project.version // replace "%VERSION%", project.version
} }
project.archivesBaseName = "${project.archivesBaseName}-mc${minecraft.version}" project.archivesBaseName = "${project.archivesBaseName}-mc${minecraftVersion}"
processResources { processResources {
from (sourceSets.main.resources.srcDirs) { from (sourceSets.main.resources.srcDirs) {
expand 'version': project.version, expand 'version': project.version,
'mcVersion': project.minecraft.version, 'mcVersion': minecraftVersion,
'forgeVersion': project.forgeVersion, 'forgeVersion': forgeVersion,
'internalVersion': project.internalVersion 'internalVersion': project.internalVersion
include 'mcmod.info' include 'mcmod.info'
} }
@ -76,11 +71,11 @@ shadowJar {
} }
} }
reobf { //reobf {
shadowJar { // shadowJar {
mappingType = 'SEARGE' // mappingType = 'SEARGE'
} // }
} //}
task deobfJar(type: Jar) { task deobfJar(type: Jar) {
from sourceSets.main.output from sourceSets.main.output