Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for archiveBase (0.24 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadata.java

            this.componentIdentifier = componentIdentifier;
            this.publishArtifact = publishArtifact;
            // In case the publish artifact is backed by an ArchiveTask, this causes the task to be realized.
            // However, if we are at this point, we need the realized task to determine the archive extension/type later
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/ArchivePublishArtifactTest.groovy

            quiteEmptyJar.destinationDirectory.set(temporaryFolder.testDirectory)
    
            when:
            def a = new ArchivePublishArtifact(TestFiles.taskDependencyFactory(), quiteEmptyJar)
    
            then:
            a.archiveTask == quiteEmptyJar
            a.classifier == ""
            a.date.time == quiteEmptyJar.archiveFile.get().asFile.lastModified()
            a.extension == "jar"
            a.file == quiteEmptyJar.archiveFile.get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    ====
    
    Note that since Kotlin is a statically typed language, it is necessary to specify the type of the task explicitly. Otherwise, the script will not compile because the inferred type will be `Task`, not `Jar`, and the `archiveName` property is specific to the `Jar` task type.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    Use the `using(ComponentSelector)` method instead.
    
    ==== AbstractArchiveTask API Cleanup
    
    The deprecated `appendix`, `archiveName`, `archivePath`, `baseName`, `classifier`, `destinationDir`, `extension` and `version` properties of the `AbstractArchiveTask` task type have been removed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top