Skip to content

Commit ddafd98

Browse files
committed
license-gather-plugin: Fixed MANIFEST check is always skipped
1 parent 1966327 commit ddafd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/GatherLicenseTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ open class GatherLicenseTask @Inject constructor(
484484
)
485485
continue
486486
}
487-
if (!file.endsWith(".jar")) {
487+
if (file.extension != "jar") {
488488
logger.debug(
489489
"File {} for artifact {} does not look like a JAR. Will skip MANIFEST.MF check",
490490
file,

0 commit comments

Comments
 (0)