Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 300 for taskname (0.2 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/FileSystemRootUpToDateIntegrationTest.groovy

                    }
                }
    
                task ${taskName}(type: InputDirectoryContentToOutputFileAction) {
                    inputDirectory = new File("${drive}\\\\")
                    output = file("${TextUtil.escapeString(outputFile.absolutePath)}")
                }
            """
            when:
            buildScript script
    
            then:
            succeeds taskName
            outputFile.text.contains inputFileName
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigurationCachingIntegrationTest.groovy

        def "returned service ref refers to service for that build"() {
            given:
            def taskName = "printInvocationId"
            buildFile << taskPrintBuildInvocationId(taskName)
    
            when:
            succeeds taskName, "--configuration-cache"
            def firstInvocationId = output.find(~/(?<=extension-buildInvocationId=).+(?=\n)/)
            succeeds taskName, "--configuration-cache"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithExecutableJarIntegrationTest.groovy

                        attributes('Main-Class': 'driver.Driver')
                    }
                }
            """
    
            when:
            succeeds taskName
    
            then:
            file("out.txt").text == """helloworld"""
    
            where:
            method                    | taskName
            'JavaExec task'           | 'runWithTask'
            'project.javaexec'        | 'runWithJavaExec'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/selection/BuildTaskSelector.java

        BuildSpecificSelector relativeToBuild(BuildState target);
    
        /**
         * A selector that is contextualized to select tasks relative to some build.
         */
        interface BuildSpecificSelector {
            TaskSelection resolveTaskName(String taskName);
        }
    
        class Filter {
            private final BuildState build;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidGradleRecipesKotlinSmokeTest.groovy

            and:
            def runner = mixedRunner(false, agpVersion, kotlinVersionNumber, taskName)
    
            when: 'running the build for the 1st time'
            beforeAndroidBuild(runner)
            def result = runner.build()
    
            then:
            result.task(":app:$taskName").outcome == TaskOutcome.SUCCESS
    
            and:
            if (GradleContextualExecuter.isConfigCache()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/KotlinDslFileContentGenerator.groovy

            "id(\"$plugin\")"
        }
    
        @Override
        protected String createTaskThatDependsOnAllIncludedBuildsTaskWithSameName(String taskName) {
            """
            task("$taskName") {
                dependsOn(gradle.includedBuilds.map { it.task(":$taskName") })
            }
            """
        }
    
    
        @Override
        protected String versionCatalogDependencyDeclaration(String configuration, String alias) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy

            "id '$plugin'"
        }
    
        @Override
        protected String createTaskThatDependsOnAllIncludedBuildsTaskWithSameName(String taskName) {
            """
            task $taskName {
                dependsOn gradle.includedBuilds*.task(":$taskName")
            }
            """
        }
    
    
        @Override
        protected String versionCatalogDependencyDeclaration(String configuration, String alias) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

        def "generates build phase events for task #taskName and expects #expectedReportedTasksCount run tasks"() {
            setupProject()
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                it.newBuild().forTasks(taskName)
                    .addProgressListener(events, OperationType.BUILD_PHASE)
                    .run()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CommandLineTaskExecutionIntegrationTest.groovy

                rootProject.name = 'broken'
                include("a")
            """
            buildFile """
            """
    
            when:
            fails(taskName)
    
            then:
            failure.assertHasDescription(message)
    
            where:
            taskName | message
            ""       | "Cannot locate matching tasks for an empty path. The path should include a task name (for example ':help' or 'help')."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 2.3K bytes
    - Viewed (3)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

        class TaskWithSources {
            String outputDir = "build/output"
            File inputFile = file('src/data/input.txt')
            String taskName = 'test'
    
            String getBuildScript() {
                """
                    apply plugin: 'base'
    
                    task ${taskName} {
                        def sources = file("src")
                        inputs.dir sources skipWhenEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top