Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 893 for TASK (0.08 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

    To see all tasks and more detail, run gradle tasks --all
    
    To see more detail about a task, run gradle help --task <task>
    """)
            !output.contains("custom")
        }
    
        def "renders only tasks in given group running [tasks, --groups=build setup]"() {
            settingsFile << "rootProject.name = 'test'"
            buildFile << """
                task mytask {
                    group = "custom"
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

            normaliseLineSeparators(e.cause.message) == """No matching tests found in any candidate test task.
        Requested tests:
            Test class: example.UnknownClass in task :test
            Test method com.OtherClass.unknownMethod() in task :test
            Test package com.unknown in task :test
            Test pattern not.matching.pattern in task :test"""
        }
    
        def "can use patterns in all include methods"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                task myTask(type: TaskWithNestedInput) {
                    outputFile = file('build/output.txt')
                    nested = useOther ? new OtherNestedBean(input: 'string') : new NestedBean(input: 'string')
                }
            """
    
            def task = ':myTask'
    
            when:
            run task
            then:
            executedAndNotSkipped(task)
    
            when:
            run task
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

            fails("show")
    
            then:
            failure.assertHasDescription("Execution failed for task ':show'.")
            failure.assertHasCause("The value for task ':show' property 'prop' is final and cannot be changed any further.")
        }
    
        def "can wire the output file of multiple tasks as input to another task using property"() {
            buildFile """
                class FileOutputTask extends DefaultTask {
                    @InputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

            task.getState().setExecuting(true);
            try {
                LOGGER.debug("Executing actions for {}.", task);
                actionListener.beforeActions(task);
                executeActions(task, inputChanges);
                return task.getState().getDidWork() ? WorkResult.DID_WORK : WorkResult.DID_NO_WORK;
            } finally {
                task.getState().setExecuting(false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

        def "configures any additional PMD tasks"() {
            def task = project.tasks.create("pmdCustom", Pmd)
    
            expect:
            task.description == null
            task.source.empty
            task.pmdClasspath == project.configurations.pmd
            task.ruleSets == ["category/java/errorprone.xml"]
            task.ruleSetConfig == null
            task.ruleSetFiles.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          startAnotherThread()
        }
      }
    
      private fun beforeRun(task: Task) {
        lock.assertHeld()
    
        task.nextExecuteNanoTime = -1L
        val queue = task.queue!!
        queue.futureTasks.remove(task)
        readyQueues.remove(queue)
        queue.activeTask = task
        busyQueues.add(queue)
      }
    
      private fun runTask(task: Task) {
        val currentThread = Thread.currentThread()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Sign.java

            onlyIf("Signing is required, or signatory is set", spec(task -> isRequired() || getSignatory() != null));
        }
    
        /**
         * Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks).
         */
        public void sign(Task... tasks) {
            for (Task task : tasks) {
                if (!(task instanceof AbstractArchiveTask)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

      func.func @main() -> () {
        tf_device.replicate() {n = 4 : i32} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/VariantAwareResolutionWithConfigurationAttributesIntegrationTest.groovy

                                        def taskName = task.name
                                        task.source(p.tasks.compileJava.source)
                                        task.destinationDirectory = project.file("${p.buildDir}/classes/$taskName")
                                        task.classpath = _compileConfig
                                        task.doFirst {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top