From a19e9a45e915c7d18f66bcecce5255595523d78d Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 10 Mar 2018 01:59:19 +1100 Subject: [PATCH] add clean task to individual projects --- bukkit/build.gradle | 2 ++ favs/build.gradle | 2 ++ forge110/build.gradle | 2 ++ forge111/build.gradle | 2 ++ forge112/build.gradle | 2 ++ forge1710/build.gradle | 2 ++ forge189/build.gradle | 2 ++ forge194/build.gradle | 2 ++ nukkit/build.gradle | 3 +++ sponge111/build.gradle | 2 ++ sponge112/build.gradle | 2 ++ 11 files changed, 23 insertions(+) diff --git a/bukkit/build.gradle b/bukkit/build.gradle index 9bb13108..782daf78 100644 --- a/bukkit/build.gradle +++ b/bukkit/build.gradle @@ -34,6 +34,8 @@ dependencies { compile 'org.inventivetalent:mapmanager:1.4.0-SNAPSHOT' } +clean { delete "target" } + processResources { from('src/main/resources') { include 'plugin.yml' diff --git a/favs/build.gradle b/favs/build.gradle index 19115762..e157d4c6 100644 --- a/favs/build.gradle +++ b/favs/build.gradle @@ -2,6 +2,8 @@ dependencies { compile project(':bukkit') } +clean { delete "target" } + processResources { from('src/main/resources') { include 'plugin.yml' diff --git a/forge110/build.gradle b/forge110/build.gradle index 2c4c16df..4eb228a7 100644 --- a/forge110/build.gradle +++ b/forge110/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'org.spongepowered:spongeapi:4.+' diff --git a/forge111/build.gradle b/forge111/build.gradle index 282aa6a0..e08e35ab 100644 --- a/forge111/build.gradle +++ b/forge111/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'org.spongepowered:spongeapi:3.1.0-SNAPSHOT' diff --git a/forge112/build.gradle b/forge112/build.gradle index e6c1bd3b..fcc8aada 100644 --- a/forge112/build.gradle +++ b/forge112/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT' diff --git a/forge1710/build.gradle b/forge1710/build.gradle index d78d5077..8b029c7f 100644 --- a/forge1710/build.gradle +++ b/forge1710/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'com.sk89q.worldedit:worldedit-forge-mc1.7.10:6.1.1-20151030.011615-19' diff --git a/forge189/build.gradle b/forge189/build.gradle index 73c0173c..02dabea2 100644 --- a/forge189/build.gradle +++ b/forge189/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'org.spongepowered:spongeapi:4.+' diff --git a/forge194/build.gradle b/forge194/build.gradle index 01f48520..454b071f 100644 --- a/forge194/build.gradle +++ b/forge194/build.gradle @@ -15,6 +15,8 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +clean { delete "target" } + dependencies { compile project(':core') compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1' diff --git a/nukkit/build.gradle b/nukkit/build.gradle index fc882f2b..961516ef 100644 --- a/nukkit/build.gradle +++ b/nukkit/build.gradle @@ -2,6 +2,9 @@ repositories { flatDir {dirs 'lib'} // maven {url "https://repo.potestas.xyz/main/"} } + +clean { delete "target" } + dependencies { compile project(':core') // compile 'cn.nukkit:nukkit:1.0-SNAPSHOT' diff --git a/sponge111/build.gradle b/sponge111/build.gradle index 745aa077..caa0e0d7 100644 --- a/sponge111/build.gradle +++ b/sponge111/build.gradle @@ -31,6 +31,8 @@ apply plugin: 'com.github.johnrengelman.shadow' sourceCompatibility = 1.8 targetCompatibility = 1.8 +clean { delete "target" } + repositories { flatDir {dirs 'lib'} maven { diff --git a/sponge112/build.gradle b/sponge112/build.gradle index 20eca60b..c9e7d2dc 100644 --- a/sponge112/build.gradle +++ b/sponge112/build.gradle @@ -24,6 +24,8 @@ apply plugin: 'com.github.johnrengelman.shadow' sourceCompatibility = 1.8 targetCompatibility = 1.8 +clean { delete "target" } + repositories { flatDir {dirs 'lib'} maven {