Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 164 for withArgument (0.29 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                .withTestKitDir(IntegrationTestBuildContext.INSTANCE.gradleUserHomeDir)
                .withProjectDir(testProjectDir)
                .forwardOutput()
                .withArguments(
                    tasks.toList() + outputParameters() + repoMirrorParameters() + configurationCacheParameters() + toolchainParameters() + kotlinDslParameters()
                ) as DefaultGradleRunner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

        }
    
        public ModelType<?> getRawType() {
            return Simple.typed(((ParameterizedTypeWrapper) wrapper).getRawType());
        }
    
        public ModelType<?> withArguments(List<ModelType<?>> types) {
            return Simple.typed(((ParameterizedTypeWrapper) wrapper).substituteAll(toWrappers(types)));
        }
    
        public boolean isGenericArray() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top