3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2025-01-12 02:20:51 +01:00

58 Zeilen
1.3 KiB
Groovy

buildscript {
repositories {
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
}
plugins {
2018-10-08 22:32:07 +10:00
id 'org.spongepowered.plugin' version '0.9.0'
}
2018-09-20 22:59:42 +10:00
repositories {
2018-11-10 19:26:10 +10:00
maven { url "https://repo.codemc.org/repository/maven-public" }
2018-09-20 22:59:42 +10:00
}
2016-02-02 01:28:27 -05:00
dependencies {
compile project(':worldedit-core')
compile project(':worldedit-libs:sponge')
2018-12-24 16:07:09 +04:00
compile 'org.spongepowered:spongeapi:7.1.0'
2019-04-20 23:33:54 -07:00
compile 'org.bstats:bstats-sponge:1.4'
2016-02-02 01:28:27 -05: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 01:28:27 -05:00
sponge {
plugin {
id = 'worldedit'
}
}
2016-02-02 01:28:27 -05:00
jar {
manifest {
attributes("Class-Path": "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
"WorldEdit-Version": version)
2016-02-02 01:28:27 -05:00
}
}
shadowJar {
dependencies {
2019-04-20 23:33:54 -07:00
relocate ("org.bstats", "com.sk89q.worldedit.sponge.bstats") {
include(dependency('org.bstats:bstats-sponge:1.4'))
}
2016-02-02 01:28:27 -05:00
}
}
2018-11-18 14:28:37 +10:00
if (project.hasProperty("signing")) {
apply plugin: 'signing'
signing {
sign shadowJar
}
build.dependsOn('signShadowJar')
2018-01-14 12:41:14 +10:00
}