Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for customizeLauncher (1.05 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildProgressEventsCrossVersionSpec.groovy

    import org.gradle.tooling.BuildLauncher
    
    class ContinuousBuildProgressEventsCrossVersionSpec extends ContinuousBuildToolingApiSpecification {
    
        def events = ProgressEvents.create()
    
        void customizeLauncher(BuildLauncher launcher) {
            launcher.addProgressListener(events)
        }
    
        def "client can receive appropriate logging and progress events for subsequent builds"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ContinuousBuildToolingApiSpecification.groovy

                        .forTasks(tasks as String[])
                        .withCancellationToken(token)
    
                    collectOutputs(launcher)
    
                    customizeLauncher(launcher)
    
                    launcher.run(buildResult)
                    T t = underBuild.call()
                    cancellationTokenSource.cancel()
                    buildResult.finished(buildTimeout)
                    t
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top