2016-12-07 03:46:39 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
|
|
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-21 12:28:22 +02:00
|
|
|
plugins {
|
2017-05-06 08:53:28 +02:00
|
|
|
id 'org.spongepowered.plugin' version '0.8.1'
|
2016-05-21 12:28:22 +02:00
|
|
|
}
|
|
|
|
|
2016-02-02 07:28:27 +01:00
|
|
|
dependencies {
|
|
|
|
compile project(':worldedit-core')
|
2017-08-05 18:55:35 +02:00
|
|
|
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
|
2016-02-02 07:28:27 +01:00
|
|
|
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
|
|
|
}
|
|
|
|
|
2017-05-06 08:53:28 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2016-02-02 07:28:27 +01:00
|
|
|
|
2016-05-21 12:28:22 +02:00
|
|
|
sponge {
|
|
|
|
plugin {
|
|
|
|
id = 'worldedit'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-02 07:28:27 +01:00
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes("Class-Path": "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
|
2016-05-21 12:28:22 +02:00
|
|
|
"WorldEdit-Version": version)
|
2016-02-02 07:28:27 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
include(dependency(':worldedit-core'))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
2016-11-19 02:43:22 +01:00
|
|
|
archives shadowJar
|
2016-02-02 07:28:27 +01:00
|
|
|
}
|