name.remal.mark-classes-dependent-on-kotlin-runtime
拥有者: Semyon Levin
处理编译的类并添加@RequiresKotlinRuntime注解,如果类/方法需要Kotlin运行时
https://remal.gitlab.io/gradle-plugins/
源代码:https://gitlab.com/remal/name.remal.gradle-plugins.git
使用plugins DSL
plugins {
id("name.remal.mark-classes-dependent-on-kotlin-runtime") version "1.0.113"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("name.remal:gradle-plugins:1.0.113")
}
}
apply(plugin = "name.remal.mark-classes-dependent-on-kotlin-runtime")
使用plugins DSL
plugins {
id "name.remal.mark-classes-dependent-on-kotlin-runtime" version "1.0.113"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "name.remal:gradle-plugins:1.0.113"
}
}
apply plugin: "name.remal.mark-classes-dependent-on-kotlin-runtime"