add clean task to individual projects
This commit is contained in:
parent
cf54fdc8c5
commit
a19e9a45e9
@ -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'
|
||||||
|
@ -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'
|
||||||
|
@ -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.+'
|
||||||
|
@ -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'
|
||||||
|
@ -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'
|
||||||
|
@ -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'
|
||||||
|
@ -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.+'
|
||||||
|
@ -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'
|
||||||
|
@ -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'
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user