FastAsyncWorldedit/core/build.gradle

34 lines
909 B
Groovy
Raw Normal View History

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-04-02 06:06:24 +02:00
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
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"
jar.destinationDir = file '../target/com/boydti/fawe-api/' + project.parent.version
task createPom << {
pom {
project {
groupId 'com.boydti'
artifactId 'fawe-api'
version project.parent.version
}
}.writeTo("../target/com/boydti/fawe-api/${project.parent.version}/fawe-api-${project.parent.version}.pom")
}
build.finalizedBy(createPom)