Skip to content

Commit 710db9e

Browse files
committed
Remove unused FileResolver import
1 parent fa1fe31 commit 710db9e

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

gradle/lint-baseline.xml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
99
<location
1010
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
11-
line="6"
11+
line="8"
1212
column="1"/>
1313
</issue>
1414

@@ -19,7 +19,7 @@
1919
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2020
<location
2121
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
22-
line="7"
22+
line="9"
2323
column="1"/>
2424
</issue>
2525

@@ -30,7 +30,7 @@
3030
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
3131
<location
3232
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
33-
line="10"
33+
line="12"
3434
column="1"/>
3535
</issue>
3636

@@ -41,7 +41,7 @@
4141
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
4242
<location
4343
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
44-
line="11"
44+
line="13"
4545
column="1"/>
4646
</issue>
4747

@@ -52,7 +52,7 @@
5252
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
5353
<location
5454
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
55-
line="18"
55+
line="20"
5656
column="44"/>
5757
</issue>
5858

@@ -63,7 +63,7 @@
6363
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
6464
<location
6565
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
66-
line="18"
66+
line="20"
6767
column="44"/>
6868
</issue>
6969

@@ -74,7 +74,7 @@
7474
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
7575
<location
7676
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt"
77-
line="37"
77+
line="39"
7878
column="14"/>
7979
</issue>
8080

@@ -177,25 +177,14 @@
177177
column="9"/>
178178
</issue>
179179

180-
<issue
181-
id="InternalGradleApiUsage"
182-
message="Avoid using internal Gradle APIs"
183-
errorLine1="import org.gradle.api.internal.file.FileResolver"
184-
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
185-
<location
186-
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
187-
line="43"
188-
column="1"/>
189-
</issue>
190-
191180
<issue
192181
id="InternalGradleApiUsage"
193182
message="Avoid using internal Gradle APIs"
194183
errorLine1="import org.gradle.api.internal.file.copy.CopyAction"
195184
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
196185
<location
197186
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
198-
line="44"
187+
line="43"
199188
column="1"/>
200189
</issue>
201190

src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import org.gradle.api.file.DuplicatesStrategy.FAIL
4040
import org.gradle.api.file.DuplicatesStrategy.INCLUDE
4141
import org.gradle.api.file.DuplicatesStrategy.INHERIT
4242
import org.gradle.api.file.DuplicatesStrategy.WARN
43-
import org.gradle.api.internal.file.FileResolver
4443
import org.gradle.api.internal.file.copy.CopyAction
4544
import org.gradle.api.provider.Property
4645
import org.gradle.api.provider.SetProperty

0 commit comments

Comments
 (0)