WorldEdit/worldedit-sponge/build.gradle

45 lines
888 B
Groovy
Raw Normal View History

buildscript {
repositories {
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
}
plugins {
2016-06-28 16:40:42 +08:00
id 'org.spongepowered.plugin' version '0.6'
}
2016-02-02 14:28:27 +08:00
dependencies {
compile project(':worldedit-core')
2016-11-17 11:30:53 +08:00
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
2016-02-02 14:28:27 +08:00
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
sponge {
plugin {
id = 'worldedit'
}
}
2016-02-02 14:28:27 +08:00
jar {
manifest {
attributes("Class-Path": "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
"WorldEdit-Version": version)
2016-02-02 14:28:27 +08:00
}
}
shadowJar {
dependencies {
include(dependency(':worldedit-core'))
}
}
artifacts {
2016-11-19 09:43:22 +08:00
archives shadowJar
2016-02-02 14:28:27 +08:00
}