mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
Warnings
This commit is contained in:
parent
7d27cd144d
commit
d7a95d0c0c
1 changed files with 3 additions and 2 deletions
|
@ -17,9 +17,9 @@ import org.apache.commons.compress.archivers.zip.ZipFile as ApacheZipFile
|
|||
* Abstraction of a zip/jar/war archive that automatically manages the addition of expanded jar files.
|
||||
* Uses ZipArchiveOutputStream for fast inclusion of expanded jar files.
|
||||
*/
|
||||
class MetaArchive(private val outputFile: File, val manifest: Manifest?) : Closeable {
|
||||
class MetaArchive(outputFile: File, val manifest: Manifest?) : Closeable {
|
||||
companion object {
|
||||
val MANIFEST_MF = "META-INF/MANIFEST.MF"
|
||||
const val MANIFEST_MF = "META-INF/MANIFEST.MF"
|
||||
}
|
||||
|
||||
private val zos= ZipArchiveOutputStream(outputFile).apply {
|
||||
|
@ -63,6 +63,7 @@ class MetaArchive(private val outputFile: File, val manifest: Manifest?) : Close
|
|||
}
|
||||
}
|
||||
|
||||
@Suppress("PrivatePropertyName")
|
||||
private val DEFAULT_JAR_EXCLUDES =
|
||||
Glob("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA", "META-INF/MANIFEST.MF")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue