io.github.kyay10.kotlin-all-static
Owner: Youssef Shoaib
A Kotlin compiler plugin that automatically makes every function/property inside an object static
https://github.com/kyay10/kotlin-all-static
Sources: https://github.com/kyay10/kotlin-all-static
Version 0.1.1 (latest)
Created 16 October 2022.
A Kotlin compiler plugin that automatically makes every function/property inside an object static
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.kyay10.kotlin-all-static") version "0.1.1"
}
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("io.github.kyay10.kotlin-all-static:io.github.kyay10.kotlin-all-static.gradle.plugin:0.1.1") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.kyay10.kotlin-all-static") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.kyay10.kotlin-all-static:io.github.kyay10.kotlin-all-static.gradle.plugin:0.1.1") } } apply(plugin = "io.github.kyay10.kotlin-all-static")
- Applying plugins to all subprojects .