From 5829ae49bb79bda66c407d7b65698ba380bd5f67 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 27 Apr 2017 11:34:19 -0700 Subject: [PATCH] Fix the duplicate MANIFEST.MF bug. --- .../src/main/kotlin/com/beust/kobalt/JarGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/JarGenerator.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/JarGenerator.kt index 61acb1e1..9572a622 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/JarGenerator.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/JarGenerator.kt @@ -150,7 +150,7 @@ class JarGenerator @Inject constructor(val dependencyManager: DependencyManager) context.logger.log(project.name, 2, "Including MANIFEST.MF file $manifestFile") Manifest(FileInputStream(manifestFile)) } else { - Manifest() + null } }