1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Wipe the jar file.

This commit is contained in:
Cedric Beust 2017-03-10 09:55:52 -08:00
parent 99c5bd560f
commit ef79394d49

View file

@ -147,7 +147,7 @@ class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFil
} else { } else {
kobaltLog(2, " Need to recompile ${buildFile.name}") kobaltLog(2, " Need to recompile ${buildFile.name}")
buildScriptJarFile.delete() buildScriptJarFile.deleteRecursively()
val buildFileClasspath = Kobalt.buildFileClasspath.map { it.jarFile.get() }.map { it.absolutePath } val buildFileClasspath = Kobalt.buildFileClasspath.map { it.jarFile.get() }.map { it.absolutePath }
val result = kotlinCompilePrivate { val result = kotlinCompilePrivate {
classpath(files.kobaltJar) classpath(files.kobaltJar)