Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 19:02:36 +01:00
52 Zeilen
1.1 KiB
Groovy
52 Zeilen
1.1 KiB
Groovy
plugins {
|
|
id("org.spongepowered.plugin")
|
|
}
|
|
|
|
PlatformConfigKt.applyPlatformAndCoreConfiguration(project)
|
|
PlatformConfigKt.applyShadowConfiguration(project)
|
|
|
|
repositories {
|
|
maven { url "https://repo.codemc.org/repository/maven-public" }
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
compile project(':worldedit-libs:sponge')
|
|
compile 'org.spongepowered:spongeapi:7.1.0'
|
|
compile 'org.bstats:bstats-sponge:1.5'
|
|
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
|
}
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_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 {
|
|
relocate ("org.bstats", "com.sk89q.worldedit.sponge.bstats") {
|
|
include(dependency('org.bstats:bstats-sponge:1.5'))
|
|
}
|
|
}
|
|
}
|
|
|
|
if (project.hasProperty("signing")) {
|
|
apply plugin: 'signing'
|
|
|
|
signing {
|
|
sign shadowJar
|
|
}
|
|
|
|
build.dependsOn('signShadowJar')
|
|
} |