mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28: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
|
// 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
|
// directory. In this case, also pass that java source directory to the Kotlin compiler as is
|
||||||
// so that it can parse its symbols
|
// 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>()
|
val extraSourceFiles = arrayListOf<String>()
|
||||||
if (sourceSuffixes.any { it.contains("kt")}) {
|
if (sourceSuffixes.any { it.contains("kt")}) {
|
||||||
project.sourceDirectories.forEach {
|
project.sourceDirectories.forEach {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue