3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 21:10:05 +01:00
FastAsyncWorldEdit/worldedit-sponge/build.gradle

58 Zeilen
1.2 KiB
Groovy

buildscript {
repositories {
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
}
plugins {
2018-01-14 03:41:14 +01:00
id 'signing'
id 'org.spongepowered.plugin' version '0.8.1'
}
2018-09-20 14:59:42 +02:00
repositories {
maven { url "http://repo.bstats.org/content/repositories/releases/" }
}
2016-02-02 07:28:27 +01:00
dependencies {
compile project(':worldedit-core')
2017-09-17 08:41:39 +02:00
compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
2018-09-20 14:59:42 +02:00
compile 'org.bstats:bstats-sponge:1.2'
2016-02-02 07:28:27 +01:00
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
2016-02-02 07:28:27 +01: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",
"WorldEdit-Version": version)
2016-02-02 07:28:27 +01:00
}
}
shadowJar {
dependencies {
include(dependency(':worldedit-core'))
2018-09-20 14:59:42 +02:00
relocate ("org.bstats", "com.sk89q.worldedit.sponge.bstats") {
include(dependency("org.bstats:bstats-sponge:1.2"))
}
2016-02-02 07:28:27 +01:00
}
}
artifacts {
2016-11-19 02:43:22 +01:00
archives shadowJar
2016-02-02 07:28:27 +01:00
}
2018-01-14 03:41:14 +01:00
signing {
required false
sign shadowJar
}