forked from RepoMirrors/kami-blue
close #192
This commit is contained in:
parent
207738c1d8
commit
2f03981985
29
build.gradle
29
build.gradle
|
@ -1,31 +1,4 @@
|
||||||
// make folders
|
// forge's stuff
|
||||||
|
|
||||||
task mkdir {
|
|
||||||
group = "kami"
|
|
||||||
doLast {
|
|
||||||
mkdir System.getProperty("user.home") + "/.minecraft/mods/1.12.2/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// delete old versions
|
|
||||||
|
|
||||||
task rmOld(type: Delete) {
|
|
||||||
group = "kami"
|
|
||||||
delete fileTree(System.getProperty("user.home") + "/.minecraft/mods/1.12.2/").matching {
|
|
||||||
include "k*-release.jar"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// copy file
|
|
||||||
|
|
||||||
task copy(type: Copy) {
|
|
||||||
group = "kami"
|
|
||||||
from file("build/libs/")
|
|
||||||
include 'k*-release.jar'
|
|
||||||
into file(System.getProperty("user.home") + "/.minecraft/mods/1.12.2/")
|
|
||||||
}
|
|
||||||
|
|
||||||
// forge's stuff
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Reference in New Issue