Johnrengelman Shadow Versions Save

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.

1.0.3

9 years ago
  • Make service files root path configurable for ServiceFileTransformer (Issue #72)
  • Andres Almiray - Added PropertiesFileTransformer (Issue #73)
  • Brandon Kearby - Fixed StackOverflow when a cycle occurs in the resolved dependency graph (Issue #69)
  • Apply Transformers to project resources (Issue #70, Issue #71)
  • Do not drop non-class files from dependencies when relocation is enabled. Thanks to Minecrell for digging into this. (Issue #61)
  • Remove support for applying individual sub-plugins by Id (easier maintenance and cleaner presentation in Gradle Portal)

1.0.2

9 years ago
  • Do not add an empty Class-Path attribute to the manifest when the shadow configuration contains no dependencies.
  • runShadow now registers shadowJar as an input. Previously, runShadow did not execute shadowJar and an error occurred.
  • Support Gradle 2.0 (Issue #66)
  • Do not override existing 'Class-Path' Manifest attribute settings from Jar configuration. Instead combine. (Issue #65)

1.0.1

9 years ago
  • Fix issue where non-class files are dropped when using relocation (Issue #58)
  • Do not create a / directory inside the output jar.
  • Fix runShadow task to evaluate the shadowJar.archiveFile property at execution time. (Issue #60)

1.0.0

9 years ago
  • Previously known as v0.9.0
  • All changes from 0.9.0-M1 to 0.9.0-M5
  • Properly configure the ShadowJar task inputs to observe the include/excludes from the dependencies block. This allows UP-TO-DATE checking to work properly when changing the dependencies rules (Issue #54)
  • Apply relocation remappings to classes and imports in source project (Issue #55)
  • Do not create directories in jar for source of remapped class, created directories in jar for destination of remapped classes (Issue #53)

0.9.0-M5

9 years ago
  • Add commons-io to compile classpath
  • Update ASM library to 4.1

0.9.0-M4

9 years ago
  • Break plugin into multiple sub-plugins. ShadowBasePlugin is always applied. ShadowJavaPlugin and ShadowApplicationPlugin are applied in reaction to applying the java and application plugins respectively.
  • Shadow does not applied java plugin automatically. java or groovy must be applied in conjunction with shadow.
  • Moved artifact filtering to dependencies {} block underneath shadowJar. This allows better include/exclude control for dependencies.
  • Dependencies added to the shadow configuration are automatically added to the Class-Path attribute in the manifest for shadowJar
  • Applying application plugin and settings mainClassName automatically configures the Main-Class attribute in the manifest for shadowJar
  • runShadow now utilizes the output of the shadowJar and executes using java -jar <shadow jar file>
  • Start Scripts for shadow distribution now utilize java -jar to execute instead of placing all files on classpath and executing main class.
  • Excluding/Including dependencies no longer includes transitive dependencies. All dependencies for inclusion/exclusion must be explicitly configured via a spec.

0.9.0-M3

9 years ago
  • Use commons.io FilenameUtils to determine name of resolved jars for including/excluding

0.7

9 years ago
  • Initial Release

0.7.1

9 years ago
  • fix the up-to-date bug where the shadow task wasn't executing after making a source change.
  • Changed the BinTray repo to Maven compatible instead of Ivy.

0.7.2

9 years ago
  • fix a bug that was preventing multiple includes/excludes in the artifactSet.
  • Fix bug in filtering shorthand style that caused filters to not be applied.