Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for getDslRefForProperty (0.29 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

                .willBeRemovedInGradle9()
                .withDslReference(AbstractArchiveTask, "bar")
                .nagUser()
    
            then:
            def dslReference = DOCUMENTATION_REGISTRY.getDslRefForProperty(AbstractArchiveTask, "bar")
            expectMessage "The DeprecationLogger.archiveName property has been deprecated. " +
                "This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            when:
            fails 'archive'
    
            then:
            failure.assertHasCause "Entry file1.txt is a duplicate but no duplicate handling strategy has been set. Please refer to ${DOCUMENTATION_REGISTRY.getDslRefForProperty(Copy.class, "duplicatesStrategy")} for details."
    
            where:
            archiveType << ['tar', 'zip']
        }
    
        def 'ensure duplicates can be included in #archiveType'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            when:
            fails 'copy'
    
            then:
            failure.assertHasCause "Entry path/file.txt is a duplicate but no duplicate handling strategy has been set. Please refer to ${DOCUMENTATION_REGISTRY.getDslRefForProperty(Copy.class, "duplicatesStrategy")} for details."
    
            when:
            buildFile << """
                tasks.withType(Copy).configureEach {
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top