mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-28 00:58:12 -07:00
Fix build directory for the application plug-in.
Fixes https://github.com/cbeust/kobalt/issues/473
This commit is contained in:
parent
3d23f38239
commit
645901d988
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
||||||
var done = false
|
var done = false
|
||||||
// The directory where the classes get compiled
|
// The directory where the classes get compiled
|
||||||
val buildDirectory =
|
val buildDirectory =
|
||||||
if (isTest) File(project.buildDirectory, KFiles.TEST_CLASSES_DIR)
|
if (isTest) File(KFiles.joinDir(project.directory, project.buildDirectory, KFiles.TEST_CLASSES_DIR))
|
||||||
else File(project.classesDir(context))
|
else File(KFiles.joinDir(project.directory, project.classesDir(context)))
|
||||||
|
|
||||||
allCompilersSorted.doWhile({ ! done }) { compiler ->
|
allCompilersSorted.doWhile({ ! done }) { compiler ->
|
||||||
val compilerResults = compilerUtils.invokeCompiler(project, context, compiler,
|
val compilerResults = compilerUtils.invokeCompiler(project, context, compiler,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue