- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for JarEntry (0.12 sec)
-
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoTransform.java
JarEntry jarEntry = inputStream.getNextJarEntry(); while (jarEntry != null) { outputStream.putNextEntry(jarEntry); outputStream.write(inputStream.readAllBytes()); outputStream.closeEntry(); jarEntry = inputStream.getNextJarEntry(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy
properties.put(name, value) } def jarOutput = new JarOutputStream(jarfile.newOutputStream(), manifest); def jarEntry = new JarEntry("META-INF/build-info.properties") jarOutput.putNextEntry(jarEntry) properties.store(jarOutput, comments) jarOutput.close() } private static RegularFileSnapshotContext snapshotContext(TestFile file) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
* * @param is * 入力ストリーム。{@literal null}であってはいけません * @return {@link JarEntry} * @throws IORuntimeException * {@link IOException}が発生した場合 * @see JarInputStream#getNextJarEntry() */ public static JarEntry getNextJarEntry(final JarInputStream is) throws IORuntimeException { assertArgumentNotNull("is", is); try {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt
* limitations under the License. */ package org.gradle.kotlin.dsl.internal.sharedruntime.codegen import java.io.File import java.io.IOException import java.util.Properties import java.util.jar.JarEntry import java.util.jar.JarFile data class PluginEntry(val pluginId: String, val implementationClass: String) fun pluginEntriesFrom(jar: File): List<PluginEntry> = try { JarFile(jar, false).use { jarFile ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 1.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/jpms/ModuleJarFixture.groovy
def target = new JarOutputStream(result) target.putNextEntry(new JarEntry("META-INF/MANIFEST.MF")) target.write((manifest.join('\n') + '\n').bytes) fileManager.output.each { classFile -> def entryName = classFile.name.replace(".", "/") + ".class" target.putNextEntry(new JarEntry(entryName)) target.write(classFile.outputStream.toByteArray())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/installation/GradleRuntimeShadedJarDetector.java
import org.gradle.internal.UncheckedException; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; import java.security.CodeSource; import java.util.jar.JarEntry; import java.util.jar.JarFile; public class GradleRuntimeShadedJarDetector { private final static String FILE_PROTOCOL = "file"; private final static String JAR_FILE_EXTENSION = ".jar";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 04 03:44:18 UTC 2016 - 2.8K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/JarUtils.groovy
man.write(jarOut) hasConfiguredManifest = true this } private static JarEntry newEntryWithFixedTime(String path) { return new JarEntry(path).tap { // setTimeLocal() is better but it is Java 9+. setTime(CONSTANT_TIME_FOR_ZIP_ENTRIES) } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 07 19:17:11 UTC 2023 - 6.4K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy
import org.apache.commons.io.IOUtils import org.gradle.api.JavaVersion import org.gradle.internal.lazy.Lazy import org.gradle.internal.serialize.JavaClassUtil import java.util.jar.JarEntry import java.util.jar.JarFile import java.util.jar.Manifest class JarTestFixture extends ZipTestFixture { File file private final Lazy<Manifest> theManifest = Lazy.atomic().of {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 14:13:17 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy
import org.objectweb.asm.Opcodes import org.objectweb.asm.tree.ClassNode import org.objectweb.asm.util.TraceClassVisitor import spock.lang.Issue import spock.lang.Specification import java.util.jar.JarEntry import java.util.jar.JarFile @UsesNativeServices @CleanupTestDirectory(fieldName = "tmpDir") class RuntimeShadedJarCreatorTest extends Specification { @Rule
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 20.8K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
import java.nio.file.FileVisitResult import java.nio.file.Files import java.nio.file.Path import java.nio.file.SimpleFileVisitor import java.nio.file.attribute.BasicFileAttributes import java.util.jar.JarEntry import java.util.jar.JarOutputStream class PackageListGeneratorIntegrationTest { companion object { private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.8K bytes - Viewed (0)