name.remal.kotlin-java8-default-methods

Plugin class: name.remal.gradle_plugins.plugins.kotlin.KotlinJava8DefaultMethodsPlugin

plugins {
    id 'name.remal.kotlin-java8-default-methods' version '1.0.178'
}
plugins {
    id("name.remal.kotlin-java8-default-methods") version "1.0.178"
}

 

This plugin works only if kotlin plugin is applied.

The plugin applies these plugins:

 

This plugins enable class files processing. It processes all compiled Kotlin interfaces and creates Java 8 default methods that delegate invocation to Kotlin's default methods.

Basically the plugin works like annotating every interface with @JvmDefault and passing -Xjvm-default=compatibility compiler parameter.