Skip to content

Commit 4fe5708

Browse files
authored
Suppress default method warnings for JarPath (#1263)
* Try to override defaults * Revert "Try to override defaults" This reverts commit d9b7374. * Suppress `JavaDefaultMethodsNotOverriddenByDelegation`
1 parent cfa109c commit 4fe5708

File tree

1 file changed

+1
-0
lines changed
  • src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util

1 file changed

+1
-0
lines changed

src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/util/JarPath.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import java.util.zip.ZipFile
1313
* We must declare some functions like [kotlin.io.path.deleteExisting] explicitly as they could not
1414
* be delegated to [JarPath] type.
1515
*/
16+
@Suppress("JavaDefaultMethodsNotOverriddenByDelegation")
1617
class JarPath(val path: Path) :
1718
JarFile(path.toFile()),
1819
Path by path {

0 commit comments

Comments
 (0)