标签: android gradle kotlin lint
我写了一个自定义的lint插件,运行自定义的lint任务时,我发现类DiagnosticSuppressor$Companion来自kotlin-compiler-embeddable-1.2.60.jar,然后它将报告NoSuchMethodError,但是gradle插件的lint任务{{ 1}}来自class DiagnosticSuppressor$Companion。
DiagnosticSuppressor$Companion
kotlin-compiler-embeddable-1.2.60.jar
NoSuchMethodError
class DiagnosticSuppressor$Companion
kotlin-compiler-1.2.60.jar