Search Gradle plugins

Version 1.1.2 (latest)

1.1.2

Created 20 June 2024.

Gradle plugin to replace string tokens in class files during compile time

Using the plugins DSL:

plugins {
  id("net.raphimc.class-token-replacer") version "1.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.raphimc:ClassTokenReplacer:1.1.2")
  }
}

apply(plugin = "net.raphimc.class-token-replacer")

Using the plugins DSL:

plugins {
  id "net.raphimc.class-token-replacer" version "1.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.raphimc:ClassTokenReplacer:1.1.2"
  }
}

apply plugin: "net.raphimc.class-token-replacer"

Learn how to apply plugins to subprojects