Commit Diff


commit - 4843328d3c1fb02343e9fefc280ab6889f568093
commit + 8dbfee5e7ee5620aa0d91fb7010f25f6b75f286f
blob - 8e3da498cbe96662aeccc2cac5fc8e9c46a5e20e
blob + e6a518896eee269fea77590094f5e58301ff67cb
--- build.gradle.kts
+++ build.gradle.kts
@@ -66,6 +66,14 @@ tasks {
     withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
         compilerOptions {
             jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21)
+            // Without this, Kotlin generates a forwarding override in every
+            // class implementing a Kotlin platform interface with default
+            // methods (e.g. VcsLogProvider), for binary compatibility with
+            // pre-Kotlin-1.4 consumers we don't need to support. Those
+            // forwarders show up to the Plugin Verifier as "deprecated
+            // method overridden/invoked" even though nothing in this plugin
+            // calls them directly.
+            jvmDefault.set(org.jetbrains.kotlin.gradle.dsl.JvmDefaultMode.NO_COMPATIBILITY)
         }
     }
 }