- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readManifest (0.26 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformFactoryForLegacy.java
} if (isMultiReleaseJar == null && JarUtil.isManifestName(entryName)) { isMultiReleaseJar = JarUtil.isMultiReleaseJarManifest(JarUtil.readManifest(entry.getContent())); } } } catch (FileException e) { // Ignore malformed archive, let the transformation handle it. } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java
} @Override protected void processManifest(ClasspathBuilder.EntryBuilder builder, ClasspathEntryVisitor.Entry manifestEntry) throws IOException { try { Manifest parsedManifest = JarUtil.readManifest(manifestEntry.getContent()); if (!JarUtil.isMultiReleaseJarManifest(parsedManifest)) { // If the original JAR is not multi-release, we don't need the manifest in the transformed JAR at all.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 20:14:01 UTC 2024 - 6.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java
* Parses Manifest from a byte array. * @param content the bytes of the manifest * @return the Manifest * @throws IOException if the manifest cannot be parsed */ public static Manifest readManifest(byte[] content) throws IOException { return new Manifest(new ByteArrayInputStream(content)); } /** * Checks if the manifest declares JAR to be multi-release. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 07 19:17:11 UTC 2023 - 5.6K bytes - Viewed (0)