- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 122 for jarFiles (0.2 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy
def fingerprints = collectFingerprints(strategy) expect: fingerprints[jarFile1] == jarFile1.name fingerprints[jarFile2] == jarFile2.name fingerprints[resources] == null fingerprints[resources.file(fileInRoot)] == fileInRoot
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java
private Module loadOptionalModule(final String moduleName) { File jarFile = findJar(moduleName, jarFile1 -> hasModuleProperties(moduleName, jarFile1)); if (jarFile != null) { Set<File> implementationClasspath = new LinkedHashSet<>(); implementationClasspath.add(jarFile); Properties properties = loadModuleProperties(moduleName, jarFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java
return null; } JarFile jarFile; try { jarFile = new JarFile(possibleJarFile); } catch (ZipException e) { // Not a zip file return null; } try { return jarFile.getManifest(); } finally { jarFile.close(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/JarFilePackageLister.java
public class JarFilePackageLister { public void listJarPackages(File jarFile, JarFilePackageListener listener) { if (jarFile == null) { throw new IllegalArgumentException("jarFile is null!"); } final String jarFileAbsolutePath = jarFile.getAbsolutePath(); if (!jarFile.exists()) { throw new IllegalArgumentException("jarFile doesn't exists! (" + jarFileAbsolutePath + ")"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy
def jarFile = tmpDir.file("mydir/jarfile.jar").createFile() def "creates manifest classpath with relative urls"() { when: def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')] then: ManifestUtil.createManifestClasspath(jarFile, classpathFiles) == "jar1.jar nested/jar2.jar"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/JarCompat.java
import java.io.IOException; import java.util.jar.JarFile; /** * Compatibility wrapper for multi-release JARs that can be used on Java 8 too. */ abstract class JarCompat implements Closeable { public static final boolean JAVA_9_COMPATIBLE = JavaVersion.current().isJava9Compatible(); protected final JarFile jarFile; private JarCompat(JarFile jarFile) { this.jarFile = jarFile; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
assertArgumentNotNull("jarFile", jarFile); try { jarFile.close(); } catch (final IOException e) { logger.log(format("ECL0017", e.getMessage()), e); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy
and: file("b/build/classes/java/main/b/B.class").delete() def jarFile = file("b/build/libs/b.jar") jarFile.isFile() and: configurationCacheRun "clean" and: configurationCacheRun ":b:assemble" then: new ZipTestFixture(jarFile).assertContainsFile("b/B.class") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 21.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/installation/GradleRuntimeShadedJarDetector.java
} private static boolean findMarkerFileInJar(File jar) { JarFile jarFile = null; try { jarFile = new JarFile(jar); JarEntry markerFile = jarFile.getJarEntry(MARKER_FILENAME); if (markerFile != null) { return true; } } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 04 03:44:18 UTC 2016 - 2.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
createJar(classGraph, classesDir, manifestFile, jarFile) return jarFile } private fun createJar(classGraph: ClassGraph, classesDir: File, manifestFile: File, jarFile: File) { try { JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream -> if (manifestFile.exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.4K bytes - Viewed (0)