have clean help delete the output directory

to make things nice and clean
This commit is contained in:
dmodoomsirius 2016-03-29 03:59:12 -04:00
parent 19ef76de33
commit afa9935a7a

View File

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