- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for closeEntry (0.05 seconds)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy
def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies def out = new File(outputDir, shortName) Files.copy(zin, out.toPath()) zin.closeEntry() } } } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 08 13:44:59 GMT 2021 - 2.4K bytes - Click Count (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
jarStream.putNextEntry(JarEntry(entryName)) Files.copy(file, jarStream) jarStream.closeEntry() return FileVisitResult.CONTINUE } }) } } } return sequenceOf(outputPath) }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
val zipEntry = ZipEntry(relativePath) try { zipOutput.putNextEntry(zipEntry) Files.copy(file.toPath(), zipOutput) zipOutput.closeEntry() } catch (e: IOException) { throw GradleException("Error copying file contents to zip. File: " + file.toPath(), e) } } } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 11:43:49 GMT 2025 - 12.5K bytes - Click Count (1) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
val entry = ZipEntry(entryName) entry.time = zipEntryBaseTimestamp putNextEntry(entry) BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) } closeEntry() } fun File.getClassSuperTypes(): Set<String> { if (!path.endsWith(".class")) { throw IllegalArgumentException("Not a class file: $path") } inputStream().use {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
for (String entry : entries) { jarOut.putNextEntry(new ZipEntry(entry)); Resources.copy(ClassPathTest.class.getResource(entry), jarOut); jarOut.closeEntry(); } } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 23K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
for (String entry : entries) { jarOut.putNextEntry(new ZipEntry(entry)); Resources.copy(ClassPathTest.class.getResource(entry), jarOut); jarOut.closeEntry(); } } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0)