RepoDocsMinecraft

Gradle plugins

Rosetta provides four build-time plugins:

Plugin Guide
net.rasanovum.rosetta.stonecutter Shared source replacements
net.rasanovum.rosetta.shaders Shader processing
net.rasanovum.rosetta.local-dependencies Local development jars
net.rasanovum.rosetta.data Datapack JSON

Setup

Add the plugin build to settings.gradle.kts:

pluginManagement {
    includeBuild("path/to/Rosetta_Library/rosetta-gradle")
}

Apply the plugins you need in your build scripts. For an applied script, declare its plugin in the root plugins block with apply false before calling apply(plugin = "...").

The plugin build uses Java 21 and Stonecutter 0.7.10. It is built with Gradle 9.6.1. Plugins are build dependencies and are not bundled in mod jars.

3 weeks agoLast edited 2026-09-15T23:17:53.000Z3 weeks agoCreated 2026-09-15T22:31:50.000Zxameryn