Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for archivesName (0.16 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy

        }
    
        def "maven-publish plugin does not take archivesBaseName into account when publishing"() {
            createBuildScripts("""
    project(":project2") {
        base {
            archivesName = "changed"
        }
    }
            """)
    
            when:
            run "publish"
    
            then:
            projectsCorrectlyPublished()
        }
    
        private def projectsCorrectlyPublished() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                    "The BasePluginExtension.archivesBaseName property has been deprecated. " +
                        "This is scheduled to be removed in Gradle 9.0. " +
                        "Please use the archivesName property instead. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java

            archiveExtension = objectFactory.property(String.class);
            archiveClassifier = objectFactory.property(String.class).convention("");
    
            archiveName = objectFactory.property(String.class);
            archiveName.convention(getProject().provider(() -> {
                // [baseName]-[appendix]-[version]-[classifier].[extension]
                String name = GUtil.elvis(archiveBaseName.getOrNull(), "");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 17 20:38:33 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  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/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)
Back to top