2016-12-07 10:46:39 +08:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
|
|
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-21 18:28:22 +08:00
|
|
|
plugins {
|
2018-01-14 10:41:14 +08:00
|
|
|
id 'signing'
|
2018-10-08 20:32:07 +08:00
|
|
|
id 'org.spongepowered.plugin' version '0.9.0'
|
2016-05-21 18:28:22 +08:00
|
|
|
}
|
|
|
|
|
2018-09-20 20:59:42 +08:00
|
|
|
repositories {
|
2018-11-10 17:26:10 +08:00
|
|
|
maven { url "https://repo.codemc.org/repository/maven-public" }
|
2018-09-20 20:59:42 +08:00
|
|
|
}
|
|
|
|
|
2016-02-02 14:28:27 +08:00
|
|
|
dependencies {
|
|
|
|
compile project(':worldedit-core')
|
2017-09-17 14:41:39 +08:00
|
|
|
compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
|
2018-11-10 17:26:10 +08:00
|
|
|
compile 'org.bstats:bstats-sponge:1.4'
|
2016-02-02 14:28:27 +08:00
|
|
|
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
|
|
|
}
|
|
|
|
|
2017-05-06 14:53:28 +08:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2016-02-02 14:28:27 +08:00
|
|
|
|
2016-05-21 18:28:22 +08:00
|
|
|
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",
|
2016-05-21 18:28:22 +08:00
|
|
|
"WorldEdit-Version": version)
|
2016-02-02 14:28:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
include(dependency(':worldedit-core'))
|
2018-11-10 17:26:10 +08:00
|
|
|
include(dependency('org.bstats:bstats-sponge:1.4'))
|
2016-02-02 14:28:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
2016-11-19 09:43:22 +08:00
|
|
|
archives shadowJar
|
2016-02-02 14:28:27 +08:00
|
|
|
}
|
2018-01-14 10:41:14 +08:00
|
|
|
|
|
|
|
signing {
|
|
|
|
required false
|
|
|
|
sign shadowJar
|
2018-10-10 15:09:20 +08:00
|
|
|
artifactoryPublish.skip = true
|
2018-01-14 10:41:14 +08:00
|
|
|
}
|