2016-04-02 06:06:24 +02:00
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
compile 'org.yaml:snakeyaml:1.16'
|
|
|
|
compile 'com.google.code.gson:gson:2.2.4'
|
2016-04-26 21:51:22 +02:00
|
|
|
compile 'net.fabiozumbi12:redprotect:1.9.6'
|
2016-09-20 10:46:49 +02:00
|
|
|
compile 'com.sk89q:worldguard:6.0.0-SNAPSHOT'
|
|
|
|
compile 'com.plotsquared:PlotSquared:3.4.1-SNAPSHOT'
|
|
|
|
compile 'org.primesoft:BlocksHub:2.0'
|
|
|
|
compile(group: 'com.sk89q.worldedit', name: 'worldedit-core', version:'6.1.3-SNAPSHOT') {
|
|
|
|
exclude(module: 'bukkit-classloader-check')
|
|
|
|
}
|
2016-04-02 06:06:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = 1.7
|
|
|
|
targetCompatibility = 1.7
|
|
|
|
|
2016-08-14 02:26:51 +02:00
|
|
|
processResources {
|
|
|
|
from('src/main/resources') {
|
|
|
|
include 'fawe.properties'
|
|
|
|
expand(
|
|
|
|
version: "${project.parent.version}",
|
|
|
|
name: project.parent.name,
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-28 09:57:47 +02:00
|
|
|
jar.archiveName="fawe-api-${project.parent.version}.jar"
|
2016-08-28 15:06:15 +02:00
|
|
|
jar.destinationDir = file '../mvn/com/boydti/fawe-api/' + project.parent.version
|
2016-08-28 09:57:47 +02:00
|
|
|
|
|
|
|
task createPom << {
|
|
|
|
pom {
|
|
|
|
project {
|
|
|
|
groupId 'com.boydti'
|
|
|
|
artifactId 'fawe-api'
|
|
|
|
version project.parent.version
|
|
|
|
}
|
2016-08-28 15:06:15 +02:00
|
|
|
}.writeTo("../mvn/com/boydti/fawe-api/${project.parent.version}/fawe-api-${project.parent.version}.pom")
|
2016-08-28 09:57:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build.finalizedBy(createPom)
|