markotron
11/05/2017, 5:05 PMjava.lang.IllegalStateException: failed to analyze: java.io.FileNotFoundException
on this line: File(kotlinGenerated, "simpleFile.kt").writer().buffered().use { it.append(replacedSource) }
.
I would expect that this creates a new file.
The interesting part is that the error appeared only after I included the kotlin-kapt
plugin. Also, after including this plugin, NOTE messages are not printed (warnings are).
I have two questions: How do I create a new file and write to it? How do I change the log level?
Thanks