Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 144 for forTask (0.33 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy

                    .buildFinished(new ParameterizedLoadCompositeEclipseModels(workspace, EclipseProject), buildFinishedHandler)
                    .build()
                    .setStandardOutput(out)
                    .forTasks()
                    .run()
            }
    
            def eclipseProjects = buildFinishedHandler.result
    
            then:
            def b1Model = eclipseProjects.collectMany { collectProjects(it) }.find { it.name == "b1" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/crossVersionTest/groovy/org/gradle/api/internal/tasks/compile/tooling/JavaCompileTaskOperationResultCrossVersionTest.groovy

        }
    
        private ProgressEvents runBuild(task) {
            ProgressEvents events = ProgressEvents.create()
            withConnection {
                newBuild()
                    .forTasks(task)
                    .setStandardOutput(System.out)
                    .addProgressListener(events, OperationType.TASK)
                    .run()
            }
            events
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TapiAgentInstrumentationCrossVersionSpec.groovy

            runDumpTaskWithTapi()
    
            then:
            agentWasNotApplied()
        }
    
        private void runDumpTaskWithTapi() {
            withConnection {
                buildOutput = withBuild {
                    it.forTasks("hello")
                }.stdout.toString()
            }
        }
    
        private void agentWasApplied() {
            agentStatusWas(true)
        }
    
        private void agentWasNotApplied() {
            agentStatusWas(false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildActionExecuter.java

         * @return this
         * @since 3.5
         */
        BuildActionExecuter<T> forTasks(String... tasks);
    
        /**
         * <p>Specifies the tasks to execute before executing the BuildAction.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:31:25 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ConsumingStandardInputCrossVersionSpec.groovy

    }
    """
            when:
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.standardInput = new ByteArrayInputStream("Hello world!".bytes)
                build.forTasks('createFile')
                build.run()
            }
    
            then:
            file('input.txt').text == "Hello world!"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r14/ToolingApiInitScriptCrossVersionIntegrationTest.groovy

            toolingApi.requireIsolatedDaemons()
            toolingApi.withConnector { GradleConnector it ->
                it.useInstallation(new File(gradleHome.absolutePath))
            }
            withBuild { it.forTasks("echo") }.standardOutput
        }
    
        def "init scripts from client distribution are used, not from the test"() {
            given:
            def distro1 = createDistribution(1)
            def distro2 = createDistribution(2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/BuildProgressCrossVersionSpec.groovy

                }
            """
    
            when:
            def events = ProgressEvents.create()
    
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().forTasks('publish')
                        .addProgressListener(events).run()
            }
    
            then:
            println events.describeOperationsTree()
            def roots = events.operations.findAll { it.parent == null }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

            result.assertTasksExecutedInOrder(":api:foo", ":impl:bar")
        }
    
        def "supports buildSrc"() {
            file("buildSrc/src/main/java/FooTask.java") << """
                import org.gradle.api.DefaultTask;
                import org.gradle.api.tasks.TaskAction;
    
                public class FooTask extends DefaultTask {
                    @TaskAction public void logStuff(){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        }
    
        private void runTask(@DelegatesTo(value = BuildLauncher, strategy = Closure.DELEGATE_ONLY) Closure<?> launcherSpec = {}) {
            withConnection {
                def launcher = newBuild().forTasks('printSystemProperty')
                launcherSpec.delegate = launcher
                launcherSpec()
                launcher.setStandardOutput(out)
                launcher.run()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/state/checkpoint.go

    		})
    	}
    	oldcheckpoint := &DRAManagerCheckpointWithoutResourceHandles{
    		Version:  checkpointVersion,
    		Entries:  entries,
    		Checksum: 0,
    	}
    	// Calculate checksum for old checkpoint
    	object := dump.ForHash(oldcheckpoint)
    	object = strings.Replace(object, "DRAManagerCheckpointWithoutResourceHandles", "DRAManagerCheckpoint", 1)
    	object = strings.Replace(object, "ClaimInfoStateListWithoutResourceHandles", "ClaimInfoStateList", 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top