Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 105 for forTask (0.14 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

        fun `can use Gradle API generated extensions in buildSrc`() {
    
            withKotlinBuildSrc()
    
            withFile(
                "buildSrc/src/main/kotlin/foo/FooTask.kt",
                """
                package foo
    
                import org.gradle.api.*
                import org.gradle.api.model.*
                import org.gradle.api.tasks.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:53:16 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

            file('build.gradle') << '''
    apply plugin: 'java'
    '''
            when:
            withConnection { connection ->
                def build = connection.newBuild()
                build.forTasks('jar')
                build.run()
            }
    
            then:
            file('build/libs/test.jar').assertIsFile()
    
            and:
            assertHasBuildSuccessfulLogging()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/StandardStreamsCrossVersionSpec.groovy

    task log {
        doLast {
            println "task log message"
        }
    }
    """
    
            when:
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks("log")
                build.run()
            }
    
            then:
            !stdOutAndErr.stdOut.contains("log message")
            !stdOutAndErr.stdErr.contains("log message")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/ProblemProgressEventCrossVersionTest.groovy

            //  issue https://github.com/gradle/gradle/issues/27484
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems
        }
    
        @TargetGradleVersion(">=6.9.4 <=8.5")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 07:55:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java

        }
    
        @Override
        public BuildActionExecuter<T> forTasks(String... tasks) {
            operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
            return getThis();
        }
    
        @Override
        public BuildActionExecuter<T> forTasks(Iterable<String> tasks) {
            operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/DaemonJvmCompatibilityCrossVersionSpec.groovy

            withConnection { connection ->
                connection.newBuild().forTasks('help').run()
            }
    
            file("gradle.properties").writeProperties("org.gradle.java.home": jdk17.javaHome.absolutePath)
            withConnection { connection ->
                connection.newBuild().forTasks('help').run()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/BuildProgressCrossVersionSpec.groovy

            withConnection {
                ProjectConnection connection ->
                    connection.newBuild()
                            .addProgressListener(events)
                            .forTasks("build")
                            .run()
            }
    
            then:
            events.assertIsABuild()
    
            def compileJava = events.operation("Task :compileJava")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/dump/dump.go

    // The output may change over time, so for guaranteed output please take more direct control
    func Pretty(a interface{}) string {
    	return prettyPrintConfig.Sdump(a)
    }
    
    // ForHash keeps the original Spew.Sprintf format to ensure the same checksum
    func ForHash(a interface{}) string {
    	return prettyPrintConfigForHash.Sprintf("%#v", a)
    }
    
    // OneLine outputs the object in one line
    func OneLine(a interface{}) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildLauncher.java

     *    .forProjectDirectory(new File("some-folder"))
     *    .connect();
     *
     * try {
     *    BuildLauncher build = connection.newBuild();
     *
     *    //select tasks to run:
     *    build.forTasks("clean", "test");
     *
     *    //include some build arguments:
     *    build.withArguments("-i", "--project-dir", "some-project-dir");
     *
     *    //configure the standard input:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. pkg/util/hash/hash.go

    // ensuring the hash does not change when a pointer changes.
    func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
    	hasher.Reset()
    	fmt.Fprintf(hasher, "%v", dump.ForHash(objectToWrite))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 998 bytes
    - Viewed (0)
Back to top