use of org.gradle.api.java.archives.internal.CustomManifestInternalWrapper in project gradle by gradle.
the class Jar method computeManifest.
private ManifestInternal computeManifest() {
Manifest manifest = getManifest();
if (manifest == null) {
manifest = new DefaultManifest(null);
}
ManifestInternal manifestInternal;
if (manifest instanceof ManifestInternal) {
manifestInternal = (ManifestInternal) manifest;
} else {
manifestInternal = new CustomManifestInternalWrapper(manifest);
}
manifestInternal.setContentCharset(manifestContentCharset);
return manifestInternal;
}
Aggregations