Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Launchable (0.24 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java

            }
    
            public Builder setLaunchables(Iterable<? extends Launchable> launchables) {
                Set<String> taskPaths = new LinkedHashSet<String>();
                List<InternalLaunchable> launchablesParams = new ArrayList<>();
                for (Launchable launchable : launchables) {
                    Object original = new ProtocolToModelAdapter().unpack(launchable);
                    if (original instanceof InternalLaunchable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy

            tasks*.name as Set == rootProjectExpectedTasks
        }
    
        def "build tasks from BuildInvocations model as Launchable"() {
            when:
            List<Task> tasks = withConnection { connection ->
                connection.action(new FetchTasksBuildAction(':b')).run()
            }
            Launchable task = tasks.find { it -> it.name == 't2'}
            def result = withBuild { BuildLauncher it ->
                it.forLaunchables(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy

            GradleConnectionException e = thrown()
            e.cause.is(failure)
    
            and:
            operation.runBuild.end > instant.failureAvailable
        }
    
        def "rejects unknown Launchable"() {
            Launchable task = Mock(Launchable)
    
            when:
            launcher.forLaunchables(selector(task))
    
            then:
            def e = thrown(GradleException)
            e != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                def gradleProjects = connection.action(new LoadCompositeModel(GradleProject)).run()
                def launchables = findLaunchables(gradleProjects, taskName)
                assert launchables.size == 1
                def build = connection.newBuild()
                collectOutputs(build)
                build.forLaunchables(launchables[0]).run()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

            BuildState defaultBuild = targetBuild;
            if (rootDir != null) {
                // When a root dir is specified, the project path and task name have come from a `Launchable` request from the tooling API client
                // Use exact lookup rather than pattern matching
                RootBuildState rootBuild = buildRegistry.getRootBuild();
                if (rootDir.equals(rootBuild.getBuildRootDir())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top