From afa9935a7a79305c18fbb851a8f2aa8298776234 Mon Sep 17 00:00:00 2001 From: dmodoomsirius Date: Tue, 29 Mar 2016 03:59:12 -0400 Subject: [PATCH] have clean help delete the output directory to make things nice and clean --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 8ac813bc5..925bef35e 100644 --- a/build.gradle +++ b/build.gradle @@ -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'