Fix curse tools task always running
This commit is contained in:
parent
0e41a97f7e
commit
569fd9665b
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,7 @@ import groovy.util.XmlSlurper;
|
|||
import java.io.File;
|
||||
|
||||
task curseTools {
|
||||
doLast {
|
||||
def cacheFiles = new File(".gradle/curseTools")
|
||||
if (!cacheFiles.exists()) cacheFiles.mkdirs()
|
||||
|
||||
|
@ -306,4 +307,5 @@ task curseTools {
|
|||
arg(value: deobfJar.archivePath.getAbsolutePath())
|
||||
arg(value: apiJar.archivePath.getAbsolutePath())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue