Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 128 for withArgument (0.24 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

                               println "\${it.cause} : \${it.description}"
                            }
                        }
                    }
                }
            """
            executer.withArgument('-Dorg.gradle.api.internal.artifacts.ivyservice.resolveengine.store.cacheExpiryMs=500')
    
            when:
            run 'resolveTwice'
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

        String getGroovyVersionNumber() {
            version.split(":", 2)[0]
        }
    
        def setup() {
            // necessary for picking up some of the output/errorOutput when forked executer is used
            executer.withArgument("-i")
            executer.withRepositoryMirrors()
            groovyDependency = groovyModuleDependency("groovy", versionNumber)
        }
    
        def "compileGoodCode"() {
            if (module == "groovy-all") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            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 << """
                interface NestedBean {
                    $annotation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

        }
    
        void enableIdentityCache() {
            // So we don't get a daemon from another test
            executer.requireIsolatedDaemons()
            executer.beforeExecute {
                executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
            }
        }
    
        List<BuildOperationRecord> getTransformExecutions() {
            buildOperations.all(ExecuteWorkBuildOperationType)
        }
    
        @NamedVariant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

        }
    
        @Issue("GRADLE-2872")
        def "expandProperties"() {
            def dsl = dslFixtureFor(scriptDsl)
    
            setup:
            withSharedResources()
            executer.withArgument("-DCOMMONS_LANG_VERSION=2.6")
    
            when:
            run 'init', '--dsl', scriptDsl.id as String
    
            then:
            dsl.assertGradleFilesGenerated()
    
            when:
            run('clean', 'build')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

            def libs = classpath("a").libs
            assert classpath("a").projects.collect { it.name } == ['b']
            assert libs.size() == 1
            libs[0].assertHasJar(someLib2Jar)
    
            executer.withArgument("-PstrictDeps=true").withTasks("eclipse").run()
    
            libs = classpath("a").libs
            assert classpath("a").projects.collect { it.name } == ['b']
            assert libs.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    @Nested
                    public NestedBean getNestedBean() { return nested; }
                }
            """
    
            expect:
            executer.withArgument("-Dorg.gradle.internal.max.validation.errors=7")
            assertValidationFailsWith([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

        }
    
        private GradleExecuter withConfigurationCache() {
            executer.withArgument("--configuration-cache")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20383")
        def "should throw an error if 'from' is called with file collection containing more than one file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("d/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 4
            model[0].message == "project :a classpath = 2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top