Search Gradle plugins

io.github.crimix.replace-placeholders

A Gradle plugin that configures ProcessResources task from Java Plugin to replace placeholders dynamically using prefixed properties

https://github.com/Crimix/ReplacePlaceholdersPlugin

Sources: https://github.com/Crimix/ReplacePlaceholdersPlugin

Version 1.1

1.1

Created 03 April 2022.

A Gradle plugin that configures ProcessResources task from Java Plugin to replace placeholders dynamically using prefixed properties

Using the plugins DSL:

plugins {
  id("io.github.crimix.replace-placeholders") version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.crimix:ReplacePlaceholdersPlugin:1.1")
  }
}

apply(plugin = "io.github.crimix.replace-placeholders")

Using the plugins DSL:

plugins {
  id "io.github.crimix.replace-placeholders" version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.crimix:ReplacePlaceholdersPlugin:1.1"
  }
}

apply plugin: "io.github.crimix.replace-placeholders"

Learn how to apply plugins to subprojects