mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
[Forge] Officially move to Java 8
This commit is contained in:
@ -13,12 +13,21 @@ buildscript {
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'org.ow2.asm:asm:5.2'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':worldedit-core')
|
||||
compile 'org.spongepowered:spongeapi:3.1.0-SNAPSHOT'
|
||||
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
|
||||
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.0-rc1'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "Sponge"
|
||||
@ -26,11 +35,11 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
ext.forgeVersion = "14.21.1.2443"
|
||||
ext.forgeVersion = "14.22.0.2456"
|
||||
|
||||
minecraft {
|
||||
version = "1.12-${project.forgeVersion}"
|
||||
mappings = "snapshot_20170801"
|
||||
version = "1.12.1-${project.forgeVersion}"
|
||||
mappings = "snapshot_20170815"
|
||||
runDir = 'run'
|
||||
|
||||
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
|
||||
|
@ -63,10 +63,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
||||
*/
|
||||
@Mod(modid = ForgeWorldEdit.MOD_ID, name = "WorldEdit", version = "%VERSION%", acceptableRemoteVersions = "*")
|
||||
public class ForgeWorldEdit {
|
||||
|
||||
static {
|
||||
Java8Detector.notifyIfNot8();
|
||||
}
|
||||
|
||||
public static Logger logger;
|
||||
public static final String MOD_ID = "worldedit";
|
||||
|
Reference in New Issue
Block a user