object CheckMixedSourceSet
In a mixed Kotlin / Java source set the Kotlin compiler might crash with an error like this:
java.lang.AssertionError: Duplicated JavaClassDescriptor a/b/c/Hello reported to IC.
That's a known bug: https://youtrack.jetbrains.com/issue/KT-38576
The workaround for now is to set the kotlin.incremental.usePreciseJavaTracking flag to false for these module using this task.
class Input |
fun disablePreciseJavaTrackingIfNeeded(compileTask: KotlinCompile, input: CheckMixedSourceSet.Input): Unit |
|
fun preparePreciseJavaTrackingCheck(compileTask: KotlinCompile): CheckMixedSourceSet.Input |