Commit 8eeb64e
authored
Expose Ant as compile scope (#1488)
As `org.apache.tools.zip.ZipOutputStream` is exposed in the public APIs:
```api
public class com/github/jengelman/gradle/plugins/shadow/transformers/DontIncludeResourceTransformer : com/github/jengelman/gradle/plugins/shadow/transformers/ResourceTransformer {
public fun modifyOutputStream (Lorg/apache/tools/zip/ZipOutputStream;Z)V
...
}
```
View the scope changes:
```diff
diff --color=auto -r before/shadow-gradle-plugin-9.0.0-SNAPSHOT.module after/shadow-gradle-plugin-9.0.0-SNAPSHOT.module
27a28,36
> "dependencies": [
> {
> "group": "org.apache.ant",
> "module": "ant",
> "version": {
> "requires": "1.10.15"
> }
> }
> ],
85,91d93
< "group": "org.apache.ant",
< "module": "ant",
< "version": {
< "requires": "1.10.15"
< }
< },
< {
137a140,146
> }
> },
> {
> "group": "org.apache.ant",
> "module": "ant",
> "version": {
> "requires": "1.10.15"
diff --color=auto -r before/shadow-gradle-plugin-9.0.0-SNAPSHOT.pom after/shadow-gradle-plugin-9.0.0-SNAPSHOT.pom
40c40
< <scope>runtime</scope>
---
> <scope>compile</scope>
```1 parent 68c9f64 commit 8eeb64e
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments