host.bytedance.kotlin-newInstance
Owner: zsqw123
inline newInstance without reflection.
https://github.com/zsqw123/kotlin-newInstance
Sources: https://github.com/zsqw123/kotlin-newInstance
Version 0.0.3-beta (latest)
Created 22 June 2024.
inline newInstance without reflection.
Add this plugin to your build using the plugins DSL:
plugins {
id("host.bytedance.kotlin-newInstance") version "0.0.3-beta"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("host.bytedance.kotlin-newInstance:host.bytedance.kotlin-newInstance.gradle.plugin:0.0.3-beta") }
It can then be applied in the precompiled script plugin:plugins { id("host.bytedance.kotlin-newInstance") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("host.bytedance.kotlin-newInstance:host.bytedance.kotlin-newInstance.gradle.plugin:0.0.3-beta") } } apply(plugin = "host.bytedance.kotlin-newInstance")
- Applying plugins to all subprojects .