1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00
This commit is contained in:
Cedric Beust 2018-02-13 16:07:40 -08:00
parent 700a8fbca8
commit 03e94157c7
2 changed files with 3 additions and 3 deletions

View file

@ -187,8 +187,8 @@ open class JvmCompilerPlugin @Inject constructor(
var done = false
// The directory where the classes get compiled
val buildDirectory =
if (isTest) File(KFiles.joinDir(project.directory, project.buildDirectory, KFiles.TEST_CLASSES_DIR))
else File(KFiles.joinDir(project.directory, project.classesDir(context)))
if (isTest) File(KFiles.joinDir(project.buildDirectory, KFiles.TEST_CLASSES_DIR))
else File(KFiles.joinDir(project.classesDir(context)))
allCompilersSorted.doWhile({ ! done }) { compiler ->
val compilerResults = compilerUtils.invokeCompiler(project, context, compiler,