- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 121 for jarFile1 (0.4 sec)
-
build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/GradleApiMetadata.kt
private fun parameterNamesFrom(gradleApiJars: Collection<File>): List<Properties> = gradleApiJars.mapNotNull { gradleApiJar -> JarFile(gradleApiJar).use { jar -> jar.loadPropertiesOrNull(parameterNamesResourceNameFor(gradleApiJar)) } } private fun JarFile.loadPropertiesOrNull(name: String): Properties? = getJarEntry(name)?.let { entry -> getInputStream(entry)?.use { input ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:07 UTC 2023 - 3.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/installation/GradleRuntimeShadedJarDetectorTest.groovy
given: createJarWithMarkerFile(jarFile) def clazz = loadClassForJar() expect: GradleRuntimeShadedJarDetector.isLoadedFrom(clazz) } def "cannot find marker file in standard JAR file"() { given: createJarWithoutMarkerFile(jarFile) def clazz = loadClassForJar() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java
@Override public void jar(File jarFile, Action action) { try { buildJar(jarFile, action); } catch (Exception e) { throw new GradleException(String.format("Failed to create Jar file %s.", jarFile), e); } } private static void buildJar(File jarFile, Action action) throws IOException { Files.createDirectories(jarFile.getParentFile().toPath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:05:09 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-relocate/groovy/build.gradle
new JarRelocator(primaryInput.get().asFile, output, relocations).run() } // end::artifact-transform-relocate[] private Set<String> readPackages(File file) { return new JarFile(file).withCloseable { jarFile -> return jarFile.stream() .filter(Predicate.not { it.directory }) .filter { it.name.endsWith(".class") } .map { entry ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy
then: def outputDir = temporaryFolder.testDirectory.file(outputDirPath) def jarFiles = outputDir.listFiles() jarFiles.size() == 2 def gradleApiJar = jarFiles.find { it.name.startsWith('gradle-api-') } def testKitJar = jarFiles.find { it.name.startsWith('gradle-test-kit-') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
/** * Jarファイル形式のファイルに含まれるリソースをトラバースします。 * * @param jarFile * jarファイル形式のファイル。{@literal null}であってはいけません * @param handler * リソースを処理するハンドラ。{@literal null}であってはいけません */ public static void forEach(final JarFile jarFile, final ResourceHandler handler) { assertArgumentNotNull("jarFile", jarFile); assertArgumentNotNull("handler", handler);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* </p> * * @param jarFile * Jarファイル。{@literal null}であってはいけません * @param handler * クラスを処理するハンドラ。{@literal null}であってはいけません */ public static void forEach(final JarFile jarFile, final ClassHandler handler) { assertArgumentNotNull("jarFile", jarFile); assertArgumentNotNull("handler", handler);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/JarUtils.groovy
* } * * </pre> * @param jarFile the jar file to create * @param closure the configuration of the JAR file * @return the path to the created JAR file. */ static File jar(File jarFile, @DelegatesTo(value = JarBuilder, strategy = Closure.DELEGATE_FIRST) Closure<?> closure) { try (def out = jarFile.newOutputStream(); def jarOut = new JarOutputStream(out)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 07 19:17:11 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoDynamicRevisionIntegrationTest.groovy
then: "Version 1.1 is used" file('libs').assertHasDescendants('projectA-1.1.jar', 'projectB-1.1.jar') file('libs/projectA-1.1.jar').assertIsCopyOf(projectA1.jarFile) file('libs/projectB-1.1.jar').assertIsCopyOf(projectB1.jarFile) when: "New versions are published" server.resetExpectations() def projectA2 = ivySftpRepo.module("group", "projectA", "1.2") projectA2.publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FileDependencyResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 23 22:33:17 UTC 2023 - 8.6K bytes - Viewed (0)