Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tasksAll (0.42 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/more_about_tasks.adoc

    ====
    [.multi-language-sample]
    =====
    .app/build.gradle.kts
    [source,kotlin]
    ----
    val myBuildGroup = "my app build"               // Create a group name
    
    tasks.register<TaskReportTask>("tasksAll") {    // Register the tasksAll task
        group = myBuildGroup
        description = "Show additional tasks."
        setShowDetail(true)
    }
    
    tasks.named<TaskReportTask>("tasks") {          // Move all existing tasks to the group
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/organizing_tasks.adoc

    ------------------------------------------------------------
    
    My app build tasks
    ------------------
    build - Assembles and tests this project.
    check - Runs checks (including tests).
    run - Runs this project as a JVM application
    tasksAll - Show additional tasks.
    ----
    
    This is already useful if the standard lifecycle tasks are sufficient.
    Moving the groups around helps clarify the tasks you expect to used in your build.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 23:21:15 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy

                CAN_KILL = true
            } else if (OperatingSystem.current().isWindows()) {
                //On some windowses, taskkill does not seem to work when triggered from java
                //On our CIs this works fine
                def e = TestFiles.execHandleFactory().newExec()
                        .commandLine("taskkill.exe", "/?")
                        .redirectErrorStream()
                        .workingDir(new File(".").absoluteFile) //does not matter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

                if (killTree) {
                    // '/T' kills full process tree
                    // TODO: '/T' option should be removed after fixing GRADLE-3298
                    return ["taskkill.exe", "/F", "/T", "/PID", pid]
                } else {
                    return ["taskkill.exe", "/F", "/PID", pid]
                }
            } else {
                throw new IllegalStateException()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                    Stream.of(psOutputs).forEach(File::delete);
                }
            }
        }
    
        static void pkill(String pid) {
            ExecResult execResult = run(isWindows() ? new String[]{"taskkill.exe", "/F", "/T", "/PID", pid} : new String[]{"kill", "-9", pid});
            if (execResult.code != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top