add clean task to individual projects

This commit is contained in:
Jesse Boyd 2018-03-10 01:59:19 +11:00
parent cf54fdc8c5
commit a19e9a45e9
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
11 changed files with 23 additions and 0 deletions

View File

@ -34,6 +34,8 @@ dependencies {
compile 'org.inventivetalent:mapmanager:1.4.0-SNAPSHOT' compile 'org.inventivetalent:mapmanager:1.4.0-SNAPSHOT'
} }
clean { delete "target" }
processResources { processResources {
from('src/main/resources') { from('src/main/resources') {
include 'plugin.yml' include 'plugin.yml'

View File

@ -2,6 +2,8 @@ dependencies {
compile project(':bukkit') compile project(':bukkit')
} }
clean { delete "target" }
processResources { processResources {
from('src/main/resources') { from('src/main/resources') {
include 'plugin.yml' include 'plugin.yml'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'org.spongepowered:spongeapi:4.+' compile 'org.spongepowered:spongeapi:4.+'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'org.spongepowered:spongeapi:3.1.0-SNAPSHOT' compile 'org.spongepowered:spongeapi:3.1.0-SNAPSHOT'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT' compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'forge' apply plugin: 'forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'com.sk89q.worldedit:worldedit-forge-mc1.7.10:6.1.1-20151030.011615-19' compile 'com.sk89q.worldedit:worldedit-forge-mc1.7.10:6.1.1-20151030.011615-19'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'org.spongepowered:spongeapi:4.+' compile 'org.spongepowered:spongeapi:4.+'

View File

@ -15,6 +15,8 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1' compile 'com.sk89q.worldedit:worldedit-forge-mc1.8.9:6.1.1'

View File

@ -2,6 +2,9 @@ repositories {
flatDir {dirs 'lib'} flatDir {dirs 'lib'}
// maven {url "https://repo.potestas.xyz/main/"} // maven {url "https://repo.potestas.xyz/main/"}
} }
clean { delete "target" }
dependencies { dependencies {
compile project(':core') compile project(':core')
// compile 'cn.nukkit:nukkit:1.0-SNAPSHOT' // compile 'cn.nukkit:nukkit:1.0-SNAPSHOT'

View File

@ -31,6 +31,8 @@ apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
clean { delete "target" }
repositories { repositories {
flatDir {dirs 'lib'} flatDir {dirs 'lib'}
maven { maven {

View File

@ -24,6 +24,8 @@ apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
clean { delete "target" }
repositories { repositories {
flatDir {dirs 'lib'} flatDir {dirs 'lib'}
maven { maven {