mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Comment.
This commit is contained in:
parent
78b93c1979
commit
9e4164a790
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
|||
// Special treatment if we are compiling Kotlin files and the project also has a java source
|
||||
// directory. In this case, also pass that java source directory to the Kotlin compiler as is
|
||||
// so that it can parse its symbols
|
||||
// Note: this should actually be queried on the compiler object so that this method, which
|
||||
// is compiler agnostic, doesn't hardcode Kotlin specific stuff
|
||||
val extraSourceFiles = arrayListOf<String>()
|
||||
if (sourceSuffixes.any { it.contains("kt")}) {
|
||||
project.sourceDirectories.forEach {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue