Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for taskname (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

            private final String taskName;
    
            public TaskPathSpec(ProjectInternal targetProject, String taskName) {
                this.targetProject = targetProject;
                this.taskName = taskName;
            }
    
            @Override
            public boolean isSatisfiedBy(Task element) {
                if (!element.getName().equals(taskName)) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

            final boolean includeSubprojects;
            final String taskName;
    
            public ProjectResolutionResult(BuildState build, ProjectState project, boolean includeSubprojects, String taskName) {
                this.build = build;
                this.project = project;
                this.includeSubprojects = includeSubprojects;
                this.taskName = taskName;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. 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 (0)
  4. 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)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginIntegrationTest.groovy

            buildFile << '''
                sourceSets {
                    other {
                        groovy
                    }
                }
                def assertTaskConfiguration(taskName, sourceSet) {
                    def task = project.tasks.findByName(taskName)
                    assert task instanceof CodeNarc
                    task.with {
                        assert description == "Run CodeNarc analysis for ${sourceSet.name} classes"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

            }
        }
    
        private void executeTaskViaGradleProjectLaunchable(String taskName) {
            withConnection { connection ->
                def gradleProjects = connection.action(new LoadCompositeModel(GradleProject)).run()
                def launchables = findLaunchables(gradleProjects, taskName)
                assert launchables.size == 1
                def build = connection.newBuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

            buildFile << """
                tasks.addRule("create some tasks") { taskName ->
                    if (taskName == "bar") {
                        tasks.register("bar")
                    } else if (taskName == "baz") {
                        tasks.create("baz")
                    } else if (taskName == "notByRule") {
                        tasks.register("notByRule") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top