mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
45 lines
888 B
Groovy
45 lines
888 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.spongepowered.plugin' version '0.6'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
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
|
|
|
|
sponge {
|
|
plugin {
|
|
id = 'worldedit'
|
|
}
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes("Class-Path": "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
|
|
"WorldEdit-Version": version)
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency(':worldedit-core'))
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|