Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for archiveBase (0.23 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

         */
        @Input
        public PathBase getArchiveBase() {
            return archiveBase;
        }
    
        /**
         * The archive base specifies whether the unpacked wrapper distribution should be stored in the project or in the
         * gradle user home dir.
         */
        public void setArchiveBase(PathBase archiveBase) {
            this.archiveBase = archiveBase;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            expect:
            TaskPropertyTestUtils.getProperties(wrapper).keySet() == WrapUtil.toSet(
                "distributionBase", "distributionPath", "distributionUrl", "distributionSha256Sum",
                "distributionType", "archiveBase", "archivePath", "gradleVersion", "networkTimeout", "validateDistributionUrl")
        }
    
        def "execute with extant wrapper jar parent directory and extant wrapper jar"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleBackedArtifactBuilder.java

            String destinationDir = isGradleExecuterVersionLessThan("5.1") ? "destinationDir" : "destinationDirectory";
            String archiveName = isGradleExecuterVersionLessThan("5.0") ? "archiveName" : "archiveFileName";
    
            rootDir.mkdirs();
            rootDir.file("settings.gradle").touch();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

        }
    
        private void setSourceDirectory(archiveTask, boolean readOnly) {
            if (readOnly) {
                ArchiveFileSet archiveFileSet = archiveTask instanceof Zip ? new ZipFileSet() : archiveTask.createTarFileSet()
                archiveFileSet.setDir(file)
                archiveFileSet.setFileMode("0444")
                archiveFileSet.setDirMode("0555")
                archiveTask.add(archiveFileSet)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

            buildFile << """
                abstract class MyTask extends org.gradle.api.internal.ConventionTask {
                    private final Property<String> archiveName = project.objects.property(String)
                    @Input Property<String> getArchiveFileName() { return this.archiveName }
    
                    @Internal String getArchiveName() { return archiveFileName.getOrNull() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

            DeprecationLogger.deprecateProperty(AbstractArchiveTask, "archiveName").replaceWith("archiveFileName")
                .willBeRemovedInGradle9()
                .withDslReference()
                .nagUser()
    
            then:
            def dslReference = DOCUMENTATION_REGISTRY.getDslRefForProperty(AbstractArchiveTask, "archiveName")
            expectMessage "The AbstractArchiveTask.archiveName property has been deprecated. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/build.gradle.kts

    gr8 {
        create("gr8") {
            // TODO This should work by passing `executableJar` directly to th Gr8 plugin
            programJar(executableJar.flatMap { it.archiveFile })
            archiveName("gradle-wrapper.jar")
            configuration("runtimeClasspath")
            proguardFile("src/main/proguard/wrapper.pro")
            // Exclude META-INF resources from Guava etc. added via transitive dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/KotlinMultiplatformPluginSmokeTest.groovy

            def result = testRunner.build()
    
            then:
            result.output.contains("other-jvm.jar")
    
            where:
            // withJava is incompatible pre 1.6.20 since it attempts to set the `archiveName` convention property on the Jar task.
            kotlinVersion << TestedVersions.kotlin.versions.findAll { VersionNumber.parse(it) > VersionNumber.parse("1.6.10") }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_build_scripts.adoc

        from 'Reports/'
        include '*'
        archiveName 'Reports.zip'
        destinationDir(file('/dir'))
    }
    ----
    
    You may have seen usage of the link:{javadocPath}/org/gradle/api/tasks/TaskContainer.html[`TaskContainer.create(java.lang.String)`] method *which should be avoided*:
    
    [source]
    ----
    tasks.create<Zip>("zip-reports") {
        from 'Reports/'
        include '*'
        archiveName 'Reports.zip'
        destinationDir(file('/dir'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:22:43 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

            String distributionUrl = WrapperGenerator.getDistributionUrl(GradleVersion.current(), WrapperDefaults.DISTRIBUTION_TYPE);
            WrapperGenerator.generate(
                WrapperDefaults.ARCHIVE_BASE, WrapperDefaults.ARCHIVE_PATH,
                WrapperDefaults.DISTRIBUTION_BASE, WrapperDefaults.DISTRIBUTION_PATH,
                null,
                propertiesFile,
                jarFile, jarFileRelativePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top