io.github.e1roy.javalocals
Owner: e1roy
A Gradle plugin that uses Spoon to transform Java source code, and then generates a new Java source file that contains the local variables of each method.
https://github.com/e1roy/javalocals/
Sources: https://github.com/e1roy/javalocals/
Version 0.0.1 (latest)
Created 12 January 2025.
A Gradle plugin that uses Spoon to transform Java source code, and then generates a new Java source file that contains the local variables of each method.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.e1roy.javalocals") version "0.0.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.e1roy.javalocals:io.github.e1roy.javalocals.gradle.plugin:0.0.1") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.e1roy.javalocals") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.e1roy.javalocals:io.github.e1roy.javalocals.gradle.plugin:0.0.1") } } apply(plugin = "io.github.e1roy.javalocals")
- Applying plugins to all subprojects .