File tree 1 file changed +2
-2
lines changed
core/src/main/kotlin/com/tschuchort/compiletesting
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ class KotlinCompilation : AbstractKotlinCompilation<K2JVMCompilerArguments>() {
456
456
}
457
457
458
458
/* * Performs the 3rd compilation step to compile Kotlin source files */
459
- private fun compileJvmKotlin (sourceFiles : List < Path > ): ExitCode {
459
+ private fun compileJvmKotlin (): ExitCode {
460
460
val sources = sourcesWithPath.map { it.path } +
461
461
kaptKotlinGeneratedDir.toPath().listFilesRecursively() +
462
462
kaptSourceDir.toPath().listFilesRecursively()
@@ -634,7 +634,7 @@ class KotlinCompilation : AbstractKotlinCompilation<K2JVMCompilerArguments>() {
634
634
}
635
635
636
636
// step 3: compile Kotlin files
637
- compileJvmKotlin(sourcesWithPath.map { it.path } ).let { exitCode ->
637
+ compileJvmKotlin().let { exitCode ->
638
638
if (exitCode != ExitCode .OK ) {
639
639
return makeResult(exitCode)
640
640
}
You can’t perform that action at this time.
0 commit comments