You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Deprecate `InheritManifest` and `inheritFrom`. ([#1722](https://github.com/GradleUp/shadow/pull/1722))
44
+
```kotlin
45
+
tasks.shadowJar {
46
+
// Before (deprecated):
47
+
manifest.inheritFrom(tasks.jar.get().manifest)
48
+
49
+
// After (recommended):
50
+
manifest.from(tasks.jar.get().manifest)
51
+
52
+
// Note: You don't need to inherit the manifest from `jar` task as it's done by default for the `shadowJar` task.
53
+
// But if you want to inherit the manifest for your custom `ShadowJar` task, you still need to do it explicitly.
54
+
}
55
+
```
44
56
- Use default `JavaExec` error message when main class is not set. ([#1725](https://github.com/GradleUp/shadow/pull/1725))
45
57
- Update `RelocatorRemapper` class pattern to cover more Java method descriptors. ([#1731](https://github.com/GradleUp/shadow/pull/1731))
46
58
- Stop using start script templates bundled in Shadow. ([#1738](https://github.com/GradleUp/shadow/pull/1738))
0 commit comments