github GradleUp/shadow 9.2.0

latest release: 9.2.1
7 hours ago

Added

  • Support relocating Groovy extensions in Module descriptors. (#1705)
  • Add extensions for Iterable<Relocator>. (#1710)
  • Support relocating list of types in RelocatorRemapper. (#1714)
  • Add mainClass property into ShadowJar. (#1722)
    tasks.shadowJar {
      // This property will be used as a fallback if there is no explicit `Main-Class` attribute set.
      mainClass = "my.Main"
    }
  • Honor executableDir and applicationName in application extension. (#1740)
    This is useful when you want to customize the output directory of the start scripts and the application distribution.
  • Provide more task accessors in ShadowApplicationPlugin.Companion. (#1771)
  • Support relocating Kotlin module files. (#1539)
    The current implementation relocates all properties in KotlinModuleMetadata but KmModule.optionalAnnotationClasses
    due to very limited usage of it. See more discussion here.

Changed

  • Merge Gradle Module descriptors into the modern META-INF path. (#1706)
    The Gradle Module descriptors (org.codehaus.groovy.runtime.ExtensionModule files) defined under META-INF/services/
    and META-INF/groovy will be merged into META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule.
  • Move injecting Class-Path manifest attr logic from doFirst into copy. (#1720)
  • Move injecting Main-Class manifest attr logic from doFirst into copy. (#1724)
  • Deprecate InheritManifest. (#1722)
  • Use default JavaExec error message when main class is not set. (#1725)
  • Update RelocatorRemapper class pattern to cover more Java method descriptors. (#1731)
  • Stop using start script templates bundled in Shadow. (#1738)
  • Bump min Java requirement to 17. (#1744)
  • Require most optional properties non-null. (#1745)
  • Make assemble depend on shadowJar even if it is added later. (#1766)

Fixed

  • Fix excluding dependencies whose versions contain +. (#1597)

Don't miss a new shadow release

NewReleases is sending notifications on new releases.