open class Jar : Jar
Assembles a JAR archive.
Jar()
Assembles a JAR archive. |
static val DEFAULT_EXTENSION: String |
open fun manifest(configureClosure: Closure<*>): Jar |
open fun getManifest(): Manifest
Returns the manifest for this JAR archive. |
|
open fun getManifestContentCharset(): String
The character set used to encode the manifest content. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect manifests content to be encoded using UTF-8. |
|
open fun getMetaInf(): CopySpec |
|
open fun getMetadataCharset(): String
The character set used to encode JAR metadata like file names. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect JAR metadata to be encoded using UTF-8 |
|
open fun manifest(configureAction: Action<in Manifest>): Jar
Configures the manifest for this JAR archive. The given action is executed to configure the manifest. |
|
open fun metaInf(configureClosure: Closure<*>): CopySpec
Adds content to this JAR archive's META-INF directory. The given closure is executed to configure a open fun metaInf(configureAction: Action<in CopySpec>): CopySpec
Adds content to this JAR archive's META-INF directory. The given action is executed to configure a |
|
open fun setManifest(manifest: Manifest): Unit
Sets the manifest for this JAR archive. |
|
open fun setManifestContentCharset(manifestContentCharset: String): Unit
The character set used to encode the manifest content. |
|
open fun setMetadataCharset(metadataCharset: String): Unit
The character set used to encode JAR metadata like file names. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect JAR metadata to be encoded using UTF-8 |
open class Ear : Jar
Assembles an EAR archive. |
|
open class War : Jar
Assembles a WAR archive. |