3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-04 18:40:06 +01:00
FastAsyncWorldEdit/worldedit-sponge/build.gradle

72 Zeilen
1.4 KiB
Groovy

2016-02-02 07:28:27 +01:00
buildscript {
repositories {
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url = "http://repo.minecrell.net/releases" }
2016-02-02 07:28:27 +01:00
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'net.minecrell:VanillaGradle:2.0.3_1'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
2016-02-02 07:28:27 +01:00
}
}
plugins {
2016-06-28 10:40:42 +02:00
id 'org.spongepowered.plugin' version '0.6'
}
apply plugin: 'net.minecrell.vanilla.server.library'
2016-02-02 07:28:27 +01:00
dependencies {
compile project(':worldedit-core')
2016-11-17 04:30:53 +01:00
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
2016-02-02 07:28:27 +01: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 07:28:27 +01:00
minecraft {
2016-11-17 04:30:53 +01:00
version = "1.11"
mappings = "snapshot_20161116"
2016-02-02 07:28:27 +01:00
runDir = 'run'
}
project.archivesBaseName = "${project.archivesBaseName}-mc${minecraft.version}"
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'))
}
}
reobf {
shadowJar {
mappingType = 'SEARGE'
}
}
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'dev'
}
artifacts {
archives deobfJar
}