Search in sources :

Example 6 with Manifest

use of org.gradle.api.java.archives.Manifest in project gradle by gradle.

the class DefaultJavaPluginExtension method manifest.

@Override
public Manifest manifest(Action<? super Manifest> action) {
    Manifest manifest = createManifest();
    action.execute(manifest);
    return manifest;
}
Also used : DefaultManifest(org.gradle.api.java.archives.internal.DefaultManifest) Manifest(org.gradle.api.java.archives.Manifest)

Aggregations

Manifest (org.gradle.api.java.archives.Manifest)6 DefaultManifest (org.gradle.api.java.archives.internal.DefaultManifest)5 FileCopyDetails (org.gradle.api.file.FileCopyDetails)2 CustomManifestInternalWrapper (org.gradle.api.java.archives.internal.CustomManifestInternalWrapper)2 ManifestInternal (org.gradle.api.java.archives.internal.ManifestInternal)2 ImmutableList (com.google.common.collect.ImmutableList)1 Closure (groovy.lang.Closure)1 File (java.io.File)1 Charset (java.nio.charset.Charset)1 Action (org.gradle.api.Action)1 InvalidUserDataException (org.gradle.api.InvalidUserDataException)1 Project (org.gradle.api.Project)1 CopySpec (org.gradle.api.file.CopySpec)1 FileTreeElement (org.gradle.api.file.FileTreeElement)1 FileCollectionFactory (org.gradle.api.internal.file.FileCollectionFactory)1 FileResolver (org.gradle.api.internal.file.FileResolver)1 FileTreeInternal (org.gradle.api.internal.file.FileTreeInternal)1 CopyAction (org.gradle.api.internal.file.copy.CopyAction)1 CopySpecInternal (org.gradle.api.internal.file.copy.CopySpecInternal)1 SerializableLambdas.action (org.gradle.api.internal.lambdas.SerializableLambdas.action)1