Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 222 for taskName (0.3 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/ant/AntImportBuildIntegrationTest.groovy

                    }
                }
            }
        }
    
        private void "test basedir"(String buildFileContents, File expectedBasedir, String taskName) {
            // given
            buildFile << buildFileContents
            // when
            succeeds(taskName)
            // then
            outputContains("[ant:echo] Basedir is: " + expectedBasedir.getAbsolutePath())
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 26 09:29:29 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeIntegrationTest.groovy

        }
    
        protected ExecutionResult runTask(taskName, settingsScript = "rootProject.name = 'root'", buildScript) {
            def settingsFile = file("settings.gradle")
            settingsFile << settingsScript
    
            def buildFile = file("build.gradle")
            buildFile << buildScript
    
            return executer.withTasks(taskName).run()
        }
    
        protected TestFile getFile(Map options, String filename) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

            withDebugFrame({ task.path }) {
                val taskType = GeneratedSubclasses.unpackType(task)
                val projectPath = task.project.path
                val taskName = task.name
                writeClass(taskType)
                writeString(projectPath)
                writeString(taskName)
                writeLong(task.taskIdentity.uniqueId)
                writeNullableString(task.reasonTaskIsIncompatibleWithConfigurationCache.orElse(null))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryNamingSchemeTest.groovy

            expect:
            def namingScheme = createNamingScheme(parentName, type, dimensions)
            namingScheme.getTaskName(verb, target) == taskName
    
            where:
            parentName | type   | dimensions     | verb       | target    | taskName
            null       | "type" | []             | null       | null      | "type"
            null       | "type" | ["one", "two"] | null       | null      | "oneTwoType"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/internal/WrapperPluginAutoApplyActionIntegTest.groovy

            run 'wrapper'
            then:
            wrapper.generated()
        }
    
        def "can use camel-case for dynamically applied wrapper plugin "() {
            when:
            run taskName
            then:
            wrapper.generated()
            where:
            taskName << ["wrapp"]//, "wrap", "w"]
        }
    
        def "wrapper plugin not applied on subprojects"() {
            setup:
            settingsFile << "include 'moduleA'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt

            ReferenceType.SELF_REF ->
                isolate.owner.delegate as Task
    
            ReferenceType.TASK_REF -> {
                val taskName = readString()
                isolate.owner.service(TaskContainerInternal::class.java).resolveTask(taskName)
            }
    
            ReferenceType.PROHIBITED -> {
                logUnsupported(
                    "deserialize",
                    Task::class,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

            given:
            buildFile << """
                tasks.addRule("Pattern: ping<ID>") { String taskName ->
                    if (taskName.startsWith("ping")) {
                        task(taskName) {
                            doLast {
                                println "Pinging: " + (taskName - 'ping')
                            }
                        }
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrPlugin.java

                        // 2) create an AntlrTask for this sourceSet following the gradle
                        //    naming conventions via call to sourceSet.getTaskName()
                        final String taskName = sourceSet.getTaskName("generate", "GrammarSource");
    
                        // 3) Set up the Antlr output directory (adding to javac inputs!)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingSnapshotFromPluginRepositorySpec.groovy

            def pluginBuilder = new PluginBuilder(testDirectory.file("plugin-" + version))
    
            def taskName = "pluginTask"
    
            pluginBuilder.addPluginWithPrintlnTask(taskName, message, "org.example.plugin")
            pluginBuilder.publishAs("org.example.plugin:plugin:${version}", mavenRepo, executer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/integTest/groovy/org/gradle/api/plugins/BasePluginIntegrationTest.groovy

                apply plugin: 'base'
    
                task $taskName {
                    doLast {
                        println "CUSTOM"
                    }
                }
    """
            when:
            fails "build"
    
            then:
            failure.assertHasCause "Cannot add task '$taskName' as a task with that name already exists."
            where:
            taskName << ['build', 'check']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top