com.cleanroommc.tokenenvoy
CC-compatible
Owner:
Cleanroom MC
Replaces tokens in compiled classes and resources without rewriting sources.
https://github.com/CleanroomMC/GradleTokenEnvoy
Sources: https://github.com/CleanroomMC/GradleTokenEnvoy.git
Version 2.0.0 (latest)
Created 11 September 2026.
Replaces tokens during Java compilation and resource processing without rewriting sources.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.cleanroommc.tokenenvoy") version "2.0.0"
}
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("com.cleanroommc.tokenenvoy:com.cleanroommc.tokenenvoy.gradle.plugin:2.0.0") }It can then be applied in the precompiled script plugin:plugins { id("com.cleanroommc.tokenenvoy") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.cleanroommc.tokenenvoy:com.cleanroommc.tokenenvoy.gradle.plugin:2.0.0") } } apply(plugin = "com.cleanroommc.tokenenvoy") - Applying plugins to all subprojects .