Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for withArgument (0.2 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

            def toolingApiInvoker = (ToolingApiGradleClient) buildInvoker
            toolingApiInvoker.runOperation(initialAction) { builder ->
                builder.setJvmArguments(jvmArgs)
                builder.withArguments(gradleArgs)
                tapiAction.accept(builder)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            generator.addWarning()
            generator.save()
            possibleFileLocations.put(generator.sourceFile.absolutePath, 1)
    
            when:
            executer.withArguments("--info")
            withInstallations(AvailableJavaHomes.getJdk(JavaVersion.VERSION_1_8))
            succeeds(":compileJava")
    
            then:
            outputContains(DiagnosticToProblemListener.FORMATTER_FALLBACK_MESSAGE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java

            if (!parameterizedModelType.isParameterized()) {
                throw new IllegalArgumentException("Expecting a parameterized type, got: " + parameterizedType + ".");
            }
            return typeOf(parameterizedModelType.withArguments(modelTypeListFrom(typeArguments)));
        }
    
        private final ModelType<T> type;
    
        private TypeOf(ModelType<T> type) {
            this.type = type;
        }
    
        protected TypeOf() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  10. 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)
Back to top