have copy for gradlew work with custom jar and folder names

This commit is contained in:
S-B99 2019-10-18 18:15:22 -04:00
parent b1ccae497a
commit b70010bf8b
1 changed files with 3 additions and 2 deletions

View File

@ -20,8 +20,9 @@ task rmOld(type: Delete) {
task copy(type: Copy) {
group = "kami"
from file("build/libs/KAMI-b9-release.jar")
into file(System.getProperty("user.home") + "/.minecraft/mods/1.12.2")
from file("build/libs/")
include '*-release.jar'
into file(System.getProperty("user.home") + "/.minecraft/mods/1.12.2/")
}
// forge's stuff