Search Gradle plugins

com.lazan.java-monkey-patch

Create a patch jar by combining classes and resources from a dependency with classes and resources defined in a project

https://github.com/uklance/gradle-java-monkey-patch

Sources: https://github.com/uklance/gradle-java-monkey-patch.git

Version 1.0 (latest)

Created 14 September 2017.

Create a patch jar by combining classes and resources from a dependency with classes and resources defined in a project

Add this plugin to your build using the plugins DSL:

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