mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-04 20:06:06 +00:00
72 lines
1.4 KiB
Groovy
72 lines
1.4 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
maven { url = "http://repo.minecrell.net/releases" }
|
|
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'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.spongepowered.plugin' version '0.5.2'
|
|
}
|
|
|
|
apply plugin: 'net.minecrell.vanilla.server.library'
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
compile 'org.spongepowered:spongeapi:5.0.0-SNAPSHOT'
|
|
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
sponge {
|
|
plugin {
|
|
id = 'worldedit'
|
|
}
|
|
}
|
|
|
|
minecraft {
|
|
version = "1.10"
|
|
mappings = 'snapshot_20160619'
|
|
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)
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency(':worldedit-core'))
|
|
}
|
|
}
|
|
|
|
reobf {
|
|
shadowJar {
|
|
mappingType = 'SEARGE'
|
|
}
|
|
}
|
|
|
|
task deobfJar(type: Jar) {
|
|
from sourceSets.main.output
|
|
classifier = 'dev'
|
|
}
|
|
|
|
artifacts {
|
|
archives deobfJar
|
|
}
|