Search Gradle plugins

io.paulbaker.shaded-log4j2-cachefile-transformer

Supplimentary transformer for Jar shading. This provides the transformer for properly shading log4j's cachefiles. Gradle equivalent to Maven's https://github.com/edwgiz/maven-shaded-log4j-transformer

https://github.com/paul-nelson-baker/gradle-shaded-log4j2-cachefile-transformer

Sources: git@github.com:paul-nelson-baker/gradle-shaded-log4j2-cachefile-transformer.git

Version 0.9.4.4 (latest)

Created 01 July 2018.

Supplimentary transformer for Jar shading. This provides the transformer for properly shading log4j's cachefiles. Gradle equivalent to Maven's https://github.com/edwgiz/maven-shaded-log4j-transformer

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.paulbaker.shaded-log4j2-cachefile-transformer") version "0.9.4.4"
}

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("io.paulbaker.shaded-log4j2-cachefile-transformer:io.paulbaker.shaded-log4j2-cachefile-transformer.gradle.plugin:0.9.4.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.paulbaker.shaded-log4j2-cachefile-transformer")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.paulbaker.shaded-log4j2-cachefile-transformer:io.paulbaker.shaded-log4j2-cachefile-transformer.gradle.plugin:0.9.4.4")
      }
    }
    
    apply(plugin = "io.paulbaker.shaded-log4j2-cachefile-transformer")
  • Applying plugins to all subprojects .