Merge pull request #1023 from dmodoomsirius/master

Give the ability to clean the output directory
This commit is contained in:
Jesse Boyd 2016-03-29 19:00:57 +11:00
commit bd633c0150

View File

@ -13,6 +13,16 @@ group = 'com.intellectualcrafters'
version = '3.3.3-SNAPSHOT' version = '3.3.3-SNAPSHOT'
description = """PlotSquared""" description = """PlotSquared"""
//nukes the output dir
task makePretty(type: Delete) {
delete 'target'
}
//makes clean nuke the output dir.
clean{
dependsOn makePretty
}
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven' apply plugin: 'maven'