Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 755 for ZIP (0.02 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-minify/kotlin/build.gradle.kts

                                jarOutputStream.addEntry(entry, zip)
                            }
                        } else {
                            jarOutputStream.addEntry(entry, zip)
                        }
                    }
                }
            }
        }
    
        private fun JarOutputStream.addEntry(entry: ZipEntry, zip: ZipFile) {
            putNextEntry(ZipEntry(entry.name))
            zip.getInputStream(entry).use { it.copyTo(this) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/distribution/plugins/DistributionPluginTest.groovy

            when:
            project.pluginManager.apply(DistributionPlugin)
            project.version = '1.2'
    
            then:
            def zip = project.tasks.distZip
            zip.archiveFile.get().asFile == project.file("build/distributions/test-project-1.2.zip")
            def tar = project.tasks.distTar
            tar.archiveFile.get().asFile == project.file("build/distributions/test-project-1.2.tar")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/projects/transform/jar/before.pom

        <modelVersion>4.0.0</modelVersion>
        <groupId>io.github.helpermethod</groupId>
        <artifactId>zip-forge</artifactId>
        <version>1.0.1</version>
        <name>zip-forge</name>
        <description>A tiny, formatter-friendly Java DSL for creating ZIP files.</description>
        <url>https://github.com/helpermethod/zip-forge</url>
        <licenses>
            <license>
                <name>The Apache License, Version 2.0</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 12:04:39 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/ZipTest.kt

    import java.io.File
    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    
    
    class ZipTest : TestWithTempFiles() {
    
        @Test
        fun `unzip fails on path traversal attempts`() {
    
            val maliciousZip = file("malicious.zip").apply {
                ZipOutputStream(outputStream()).use { zip ->
                    val content = "suspicious".toByteArray()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

            'task.flatMap { it.outDir }.zip(provider { "baz" }) { d, f -> d.file(f) }' | _
            'task.get().outDir.zip(provider { "baz" }) { d, f -> d.file(f) }'          | _
            'provider { "baz" }.zip(task.flatMap { it.outDir }) { f, d -> d.file(f) }' | _
            'provider { "baz" }.zip(task.get().outDir) { f, d -> d.file(f) }'          | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ant/taskWithNestedElements/groovy/build.gradle

    tasks.register('zip') {
        doLast {
            ant.zip(destfile: 'archive.zip') {
                fileset(dir: 'src') {
                    include(name: '**.xml')
                    exclude(name: '**.java')
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 227 bytes
    - Viewed (0)
  7. src/archive/zip/example_test.go

    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_download.txt

    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.zip
    stdout '^rsc.io/sampler v1.3.0$'
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/sampler/@v/v1.2.1.zip
    exists $GOPATH/pkg/mod/cache/download/rsc.io/sampler/@v/v1.3.0.zip
    stdout '^golang\.org/x/text v0.0.0-20170915032832-14c0d48ead0c$'
    ! exists $GOPATH/pkg/mod/cache/download/golang.org/x/text/@v/v0.0.0-20170915032832-14c0d48ead0c.zip
    cmp go.mod go.mod.go117
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 20:42:35 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy

     * limitations under the License.
     */
    package org.gradle.api.internal.file.archive
    
    import org.apache.commons.compress.archivers.zip.Zip64RequiredException
    import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
    import org.gradle.api.file.RelativePath
    import org.gradle.api.internal.DocumentationRegistry
    import org.gradle.api.internal.file.CopyActionProcessingStreamAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            and: "where a build edits each archive differently via a visitor"
            file('build.gradle') << """
                ${defineUpdateTask('zip')}
                ${defineVerifyTask('zip')}
    
                def theArchive1 = rootProject.file('test1.zip')
                def theArchive2 = rootProject.file('test2.zip')
    
                tasks.register('update1', UpdateTask) {
                    archive = theArchive1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top