mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-09-06 00:58:26 +02:00
Fix archive names (includes project/module name + version) Generate MD5 hash alongside jar Improve build time - asynchronous building - enable daemon - change scope of a few statements - skip building of 3 jars Add filtering to the plugin.yml (maven/gradle) Bump version to 3.3.0 in pom
34 lines
697 B
Groovy
34 lines
697 B
Groovy
dependencies {
|
|
compile project(':Core')
|
|
compile 'org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT'
|
|
compile 'net.milkbowl.vault:VaultAPI:1.5'
|
|
}
|
|
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
|
|
processResources {
|
|
from('src/main/resources') {
|
|
include 'plugin.yml'
|
|
expand(
|
|
name: project.parent.name,
|
|
version: project.parent.version
|
|
)
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency(':Core'))
|
|
}
|
|
archiveName = "${parent.name}-${project.name}-${parent.version}.jar"
|
|
}
|
|
|
|
shadowJar.doLast {
|
|
task ->
|
|
ant.checksum file: task.archivePath
|
|
}
|
|
|
|
build.dependsOn(shadowJar); |