File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/kotlin/com/tschuchort/compiletesting Expand file tree Collapse file tree 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>() {
456456 }
457457
458458 /* * Performs the 3rd compilation step to compile Kotlin source files */
459- private fun compileJvmKotlin (sourceFiles : List < Path > ): ExitCode {
459+ private fun compileJvmKotlin (): ExitCode {
460460 val sources = sourcesWithPath.map { it.path } +
461461 kaptKotlinGeneratedDir.toPath().listFilesRecursively() +
462462 kaptSourceDir.toPath().listFilesRecursively()
@@ -634,7 +634,7 @@ class KotlinCompilation : AbstractKotlinCompilation<K2JVMCompilerArguments>() {
634634 }
635635
636636 // step 3: compile Kotlin files
637- compileJvmKotlin(sourcesWithPath.map { it.path } ).let { exitCode ->
637+ compileJvmKotlin().let { exitCode ->
638638 if (exitCode != ExitCode .OK ) {
639639 return makeResult(exitCode)
640640 }
You can’t perform that action at this time.
0 commit comments