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'
}
clean { delete "target" }
processResources {
from('src/main/resources') {
include 'plugin.yml'

View File

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

View File

@ -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.+'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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.+'

View File

@ -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'

View File

@ -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'

View File

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

View File

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