Fix forge build
This commit is contained in:
parent
04603b7cee
commit
1af22477ea
@ -28,7 +28,7 @@ ext {
|
|||||||
date = git.head().date.format("yy.MM.dd")
|
date = git.head().date.format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
parents = git.head().parentIds;
|
||||||
index = -75; // Offset to mach CI
|
index = -76; // Offset to mach CI
|
||||||
int major, minor, patch;
|
int major, minor, patch;
|
||||||
major = minor = patch = 0;
|
major = minor = patch = 0;
|
||||||
for (;parents != null && !parents.isEmpty();index++) {
|
for (;parents != null && !parents.isEmpty();index++) {
|
||||||
|
@ -21,6 +21,9 @@ dependencies {
|
|||||||
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'forge'
|
name = 'forge'
|
||||||
|
@ -21,6 +21,9 @@ dependencies {
|
|||||||
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'forge'
|
name = 'forge'
|
||||||
|
@ -21,6 +21,9 @@ dependencies {
|
|||||||
compile 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
compile 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'forge'
|
name = 'forge'
|
||||||
|
@ -21,6 +21,9 @@ dependencies {
|
|||||||
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'forge'
|
name = 'forge'
|
||||||
|
@ -20,6 +20,9 @@ dependencies {
|
|||||||
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'forge'
|
name = 'forge'
|
||||||
|
@ -28,6 +28,9 @@ plugins {
|
|||||||
apply plugin: 'net.minecrell.vanilla.server.library'
|
apply plugin: 'net.minecrell.vanilla.server.library'
|
||||||
apply plugin: 'com.github.johnrengelman.shadow'
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
flatDir {dirs 'lib'}
|
flatDir {dirs 'lib'}
|
||||||
maven {
|
maven {
|
||||||
|
Loading…
Reference in New Issue
Block a user