Skip to content

Commit

Permalink
multi-module tests: make sure javaOut exists before passing to compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-yuan authored and neetopia committed Jan 7, 2021
1 parent 494f7e9 commit bea0d68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ abstract class AbstractKotlinKSPTest : KotlinBaseTest<AbstractKotlinKSPTest.KspT
GenerationUtils.compileFilesTo(moduleFiles.psiFiles, environment, outDir)
if (hasJavaSources) {
// need to compile java sources as well
val javaOutDir = module.rootDir.resolve("javaOut")
val javaOutDir = module.rootDir.resolve("javaOut").apply { mkdirs() }
val classpath = (dependencies + KotlinTestUtils.getAnnotationsJar() + module.outDir)
.joinToString(":") { it.absolutePath }
val options = listOf(
Expand Down

0 comments on commit bea0d68

Please sign in to comment.