Search Gradle plugins

Version 2.1.8 (latest)

Created 10 July 2023.

The plugin for on-development environment resource configuration

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.anatawa12.mod-patching.resources-dev") version "2.1.8"
}

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.anatawa12.mod-patching.resources-dev:com.anatawa12.mod-patching.resources-dev.gradle.plugin:2.1.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.anatawa12.mod-patching.resources-dev")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.anatawa12.mod-patching.resources-dev:com.anatawa12.mod-patching.resources-dev.gradle.plugin:2.1.8")
      }
    }
    
    apply(plugin = "com.anatawa12.mod-patching.resources-dev")
  • Applying plugins to all subprojects .