Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for noDeprecationChecks (0.26 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaPluginIntegrationTest.groovy

                  implementation(project(":b"))
                  implementation(project(":c"))
                  implementation(project(":d"))
                }
            """
    
            expect:
            executer.noDeprecationChecks()
            succeeds(":a:classes", "--parallel")
            true
        }
    
        @Issue("https://github.com/gradle/gradle/issues/6735")
        def "can depend on the source set of another Java project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy

                configurations.custom {
                    preventUsageMutation()
                    canBeResolved = !canBeResolved
                }
            """
            executer.noDeprecationChecks()
    
            expect:
            fails 'help'
    
            and:
            assertUsageLockedFailure('custom', displayName)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 01:42:49 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/24979")
    
        def "cannot annotate type 'java.net.URL' with @Input"() {
    
            executer.beforeExecute {
                executer.noDeprecationChecks()
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
                interface NestedBean {
                    @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

                configurations.$role('custom')
                configurations.custom.$methodCall
            """
    
            when:
            executer.noDeprecationChecks() // These will be checked elsewhere, this test is about ensuring failures
            fails('help')
    
            then:
            failureCauseContains(message)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                }
            """
    
            settingsFile << """
                rootProject.name = 'example-of-project-reference-in-test-suites'
    
                include("app")
            """
            executer.noDeprecationChecks()
    
            expect: "should be able to reference the project without failing"
            succeeds ':app:assemble', ':app:integrationTest'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            def files = findFiles(cacheDir, "files-*/**/*")
            files.size() == 2
            journal.assertExists()
    
            when:
            executer.noDeprecationChecks()
            run '--stop' // ensure daemon does not cache file access times in memory
            forceCleanup(gcFile)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

        @Requires(IntegTestPreconditions.IsEmbeddedExecutor)
        def "cacheability for task with disabled optimizations is VALIDATION_FAILURE"() {
            when:
            executer.noDeprecationChecks()
            buildFile """
                import org.gradle.integtests.fixtures.validation.ValidationProblem
                import org.gradle.api.problems.Severity
    
                @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                .startLauncherInDebugger(opts -> debugLauncher.copyTo(opts))
                .withProfiler(profiler)
                .withForceInteractive(interactive);
    
            if (!checkDeprecations) {
                executer.noDeprecationChecks();
            }
    
            if (durationMeasurement != null) {
                executer.withDurationMeasurement(durationMeasurement);
            }
    
            if (consoleType != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

        }
    
        def "reports build listener registration on #registrationPoint"() {
    
            given:
            buildFile << code
    
            when:
            executer.noDeprecationChecks()
            configurationCacheFails 'help'
    
            then:
            outputContains("Configuration cache entry discarded with 1 problem.")
            problems.assertFailureHasProblems(failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            withOriginalSourceIn("composite-lib")
        }
    
        def "can not use ResolvedArtifactResult as task input annotated with #annotation"() {
    
            executer.beforeExecute {
                executer.noDeprecationChecks() // Cannot convert the provided notation to a File or URI
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top