Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for withArgument (0.19 sec)

  1. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

            }
            def gradleRunner = GradleRunner.create()
                .withTestKitDir(testKitDir)
                .withProjectDir(testDirectory)
                .withArguments(allArgs)
                .withDebug(debug)
    
            gradleProvider.applyTo(gradleRunner)
            gradleRunner
        }
    
        static String helloWorldTask() {
            """
            task helloWorld {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

            ivyRepo.module('org', 'projectB', '1.6')
                .publish()
    
            ivyRepo.module('org', 'projectC', 'alpha-12')
                .publish()
    
            when:
            executer.withArguments("-PuseDynamicResolve=true")
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('projectA-1.2.jar', 'projectB-1.6.jar', 'projectC-alpha-12.jar')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                ?: currentType
    
        } while (oldType !== currentType)
        if (typeArguments.isNotEmpty()) {
            currentType = currentType.withArguments { typeProjection ->
                typeProjection.replaceType(
                    typeProjection.type?.simplifyType(session, useSitePosition, visited)
                )
            }
        }
        return currentType
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildPluginDevelopmentIntegrationTest.groovy

                        maven {
                            url '${mavenRepo.uri}'
                        }
                    }
                }
            """
            executer.inDirectory(pluginBuild).withArguments('--include-build', pluginDependencyA.absolutePath).withTasks('publish').run()
        }
    
        private void publishPlugin() {
            pluginBuild.buildFile << """
                apply plugin: 'maven-publish'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

        void collectDescriptorsFromBuild() {
            try {
                withConnection {
                    ProjectConnection connection ->
                        connection.newBuild().forTasks('build')
                            .withArguments("--continue")
                            .addProgressListener(events)
                            .setStandardOutput(System.out)
                            .setStandardError(System.err)
                            .run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

            gradlePropertiesFile << """
                foo=bar
            """
            def snapshot = gradlePropertiesFile.snapshot()
            executer.withGradleUserHomeDir(dotGradleDir)
            executer.withArguments("--project-cache-dir", dotGradleDir.path)
    
            then:
            succeeds "init", '--overwrite'
            targetDir.file("gradlew").assertIsFile()
            targetDir.file("settings.gradle.kts").assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

                "rootProject.projectDir = new File(settingsDir, '../root')"
            );
            getTestDirectory().createDir("root").file("build.gradle").writelns("task thing");
    
            inTestDirectory().withArguments("-p", settingsDir.getAbsolutePath()).withTasks("thing").runWithFailure()
                .assertHasDescription("Task 'thing' not found in root project 'gradle'.");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

    abstract class AbstractJavaCompilerIntegrationSpec extends AbstractIntegrationSpec {
    
        abstract String compilerConfiguration()
    
        abstract String logStatement()
    
        def setup() {
            executer.withArguments("-i")
            buildFile << """
                plugins {
                    id("java-library")
                }
                tasks.withType(JavaCompile) {
                    options.compilerArgs << '-Xlint:all,-options' << '-Werror'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                    doLast {
                        assert project.findProperty('foundProperty') == 'foundValue'
                    }
                }
            """
    
            expect:
            executer.withArguments('-PfoundProperty=foundValue')
            succeeds("run")
        }
    
        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def findPropertyShouldReturnNullIfNotFound() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

            buildFile << """
                tasks.register("noop") {
                }
            """
    
            when:
            mod.pom.expectGet()
            mod.artifact.expectGet()
            executer.withArguments("-I", "init.gradle")
            fails 'noop'
    
            then:
            failure.assertHasDescription """Dependency verification failed for configuration 'classpath'
    2 artifacts failed verification:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top