Remove source annotations when copy class with kapt2
Writing source annotations enables incremental compilation for kapt2. However they are not needed in bytecode, so we remove them when copying classes. # Conflicts: # compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt # compiler/frontend.java/src/org/jetbrains/kotlin/config/JVMConfigurationKeys.java
This commit is contained in:
+3
-3
@@ -22,12 +22,12 @@ import org.gradle.api.tasks.compile.AbstractCompile
|
||||
|
||||
class SubpluginOption(val key: String, val value: String)
|
||||
|
||||
interface KotlinGradleSubplugin {
|
||||
fun isApplicable(project: Project, task: AbstractCompile): Boolean
|
||||
interface KotlinGradleSubplugin<KotlinCompile : AbstractCompile> {
|
||||
fun isApplicable(project: Project, task: KotlinCompile): Boolean
|
||||
|
||||
fun apply(
|
||||
project: Project,
|
||||
kotlinCompile: AbstractCompile,
|
||||
kotlinCompile: KotlinCompile,
|
||||
javaCompile: AbstractCompile,
|
||||
variantData: Any?,
|
||||
javaSourceSet: SourceSet?
|
||||
|
||||
Reference in New Issue
Block a user