mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
[Forge] Officially move to Java 8
This commit is contained in:
parent
f2c5b272ad
commit
6c6e1b4ce2
@ -5,7 +5,7 @@ dependencies {
|
||||
compile 'de.schlichtherle:truezip:6.8.3'
|
||||
compile 'rhino:js:1.7R2'
|
||||
compile 'org.yaml:snakeyaml:1.9'
|
||||
compile 'com.google.guava:guava:17.0'
|
||||
compile 'com.google.guava:guava:21.0'
|
||||
compile 'com.sk89q:jchronic:0.2.4a'
|
||||
compile 'com.google.code.findbugs:jsr305:1.3.9'
|
||||
compile 'com.thoughtworks.paranamer:paranamer:2.6'
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user