This commit is contained in:
Bella 2020-03-17 12:10:32 -04:00
parent 207738c1d8
commit 2f03981985
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 28 deletions

View File

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