Skip to content

Commit 8a8b0d0

Browse files
authored
Fix ResourceTransformer API links (#1344)
1 parent 2760e69 commit 8a8b0d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/configuration/merging/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Controlling JAR Content Merging
22

33
Shadow allows for customizing the process by which the output JAR is generated through the
4-
[`Transformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-transformer/index.html) interface.
4+
[`ResourceTransformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-resource-transformer/index.html) interface.
55
This is a concept that has been carried over from the original Maven Shade implementation.
6-
A [`Transformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-transformer/index.html) is invoked for each
6+
A [`ResourceTransformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-resource-transformer/index.html) is invoked for each
77
entry in the JAR before being written to the final output JAR.
8-
This allows a [`Transformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-transformer/index.html) to
8+
This allows a [`ResourceTransformer`](https://gradleup.com/shadow/api/shadow/com.github.jengelman.gradle.plugins.shadow.transformers/-resource-transformer/index.html) to
99
determine if it should process a particular entry and apply any modifications before writing the stream to the output.
1010

1111
=== "Kotlin"
@@ -48,7 +48,7 @@ determine if it should process a particular entry and apply any modifications be
4848
}
4949
```
5050

51-
Additionally, a `Transformer` can accept a `Closure` to configure the provided `Transformer`.
51+
Additionally, a `ResourceTransformer` can accept a `Closure` to configure the provided `ResourceTransformer`.
5252

5353
=== "Kotlin"
5454

@@ -95,7 +95,7 @@ Additionally, a `Transformer` can accept a `Closure` to configure the provided `
9595
}
9696
```
9797

98-
An instantiated instance of a `Transformer` can also be provided.
98+
An instantiated instance of a `ResourceTransformer` can also be provided.
9999

100100
=== "Kotlin"
101101

@@ -254,7 +254,7 @@ method to add this transformer.
254254

255255
## Merging Log4j2 Plugin Cache Files (`Log4j2Plugins.dat`)
256256

257-
`Log4j2PluginsCacheFileTransformer` is a `Transformer` that merges `META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat` plugin caches from all the jars
257+
`Log4j2PluginsCacheFileTransformer` is a `ResourceTransformer` that merges `META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat` plugin caches from all the jars
258258
containing Log4j 2.x Core components. It's a Gradle equivalent of [Log4j Plugin Descriptor Transformer](https://logging.apache.org/log4j/transform/log4j-transform-maven-shade-plugin-extensions.html#log4j-plugin-cache-transformer).
259259

260260
=== "Kotlin"

0 commit comments

Comments
 (0)