Fix forge build

This commit is contained in:
Jesse Boyd 2017-03-04 13:35:11 +11:00
parent 04603b7cee
commit 1af22477ea
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
7 changed files with 19 additions and 1 deletions

View File

@ -28,7 +28,7 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
index = -75; // Offset to mach CI
index = -76; // Offset to mach CI
int major, minor, patch;
major = minor = patch = 0;
for (;parents != null && !parents.isEmpty();index++) {

View File

@ -21,6 +21,9 @@ dependencies {
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = 'forge'

View File

@ -21,6 +21,9 @@ dependencies {
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = 'forge'

View File

@ -21,6 +21,9 @@ dependencies {
compile 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = 'forge'

View File

@ -21,6 +21,9 @@ dependencies {
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = 'forge'

View File

@ -20,6 +20,9 @@ dependencies {
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = 'forge'

View File

@ -28,6 +28,9 @@ plugins {
apply plugin: 'net.minecrell.vanilla.server.library'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
flatDir {dirs 'lib'}
maven {