host.bytedance.kotlin-newInstance
所有者: zsqw123
内联newInstance而不使用反射。
https://github.com/zsqw123/kotlin-newInstance
来源: https://github.com/zsqw123/kotlin-newInstance
使用插件DSL
plugins {
id("host.bytedance.kotlin-newInstance") version "0.0.3-beta"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("host.bytedance:kotlin-newInstance-gradle:0.0.3-beta")
}
}
apply(plugin = "host.bytedance.kotlin-newInstance")
使用插件DSL
plugins {
id "host.bytedance.kotlin-newInstance" version "0.0.3-beta"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "host.bytedance:kotlin-newInstance-gradle:0.0.3-beta"
}
}
apply plugin: "host.bytedance.kotlin-newInstance"