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
Copy file name to clipboardExpand all lines: docs/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
Shadow is a Gradle plugin for combining a project's dependency classes and resources into a single
9
9
output Jar.
10
10
The combined Jar is often referred to a _fat-jar_ or _uber-jar_.
11
-
Shadow utilizes [`JarInputStream`](https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarInputStream.html) and [`JarOutputStream`](https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarOutputStream.html) to efficiently process dependent libraries
11
+
Shadow utilizes [`JarInputStream`][JarInputStream] and [`JarOutputStream`][JarOutputStream] to efficiently process dependent libraries
12
12
into the output jar without incurring the I/O overhead of expanding the jars to disk.
13
13
14
14
!!! warning "Plugin ID Change"
@@ -57,3 +57,8 @@ These issues often manifest themselves as binary incompatibilities in either the
57
57
58
58
By utilizing Shadow's ability to _relocate_ the package names for dependencies, a library author can ensure that the
59
59
library's dependencies will not conflict with the same dependency being declared by the downstream application.
> Note the literal use of [`project.configurations`][Project.configurations] when setting the
27
+
[`configurations`][ShadowJar.configurations] attribute of a [`ShadowJar`][ShadowJar] task.
29
28
This is **required**. It may be tempting to specify `configurations = [configurations.compileClasspath]` but this will not
30
-
have the intended effect, as `configurations.compile` will try to delegate to the `configurations` property of the [`ShadowJar`](../../api/shadow/com.github.jengelman.gradle.plugins.shadow.tasks/-shadow-jar/index.html) task instead of the `project`
29
+
have the intended effect, as `configurations.compile` will try to delegate to the
30
+
[`configurations`][ShadowJar.configurations] property of the [`ShadowJar`][ShadowJar] task instead of the `project`
31
31
32
32
## Embedding Jar Files Inside Your Shadow Jar
33
33
34
-
The `shadowJar` task is a subclass of the `Jar` task, which means that the
0 commit comments