Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Launchable (0.15 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Launchable.java

        /**
         * Returns a human-consumable display name for this launchable.
         *
         * @return Display name of this launchable.
         * @since 1.12
         */
        String getDisplayName();
    
        /**
         * Returns the description of this launchable, or {@code null} if it has no description.
         *
         * @return The description of this launchable, or {@code null} if it has no description.
         * @since 1.12
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

    Justin Van Dort <******@****.***> 1717096907 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderStartParameterConverter.java

            // Important that the launchables are unpacked on the client side, to avoid sending back any additional internal state that
            // the launchable may hold onto. For example, GradleTask implementations hold onto every task for every project in the build
            List<TaskExecutionRequest> requests = new ArrayList<TaskExecutionRequest>(launchables.size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildLauncher.java

        }
    
        @Override
        public BuildLauncher forLaunchables(Launchable... launchables) {
            return forLaunchables(Arrays.asList(launchables));
        }
    
        @Override
        public BuildLauncher forLaunchables(Iterable<? extends Launchable> launchables) {
            preprocessLaunchables(launchables);
            operationParamsBuilder.setLaunchables(launchables);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/gradle/BuildInvocations.java

    import org.gradle.tooling.model.Task;
    import org.gradle.tooling.model.TaskSelector;
    
    /**
     * A model providing access to {@link org.gradle.tooling.model.Launchable} instances that can be used
     * to initiate Gradle build.
     *
     * <p>To launch a build, you pass one or more {@link org.gradle.tooling.model.Launchable} instances
     * to either {@link org.gradle.tooling.BuildLauncher#forTasks(Iterable)} or {@link org.gradle.tooling.BuildLauncher#forLaunchables(Iterable)}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildLauncher.java

        /**
         * Sets the launchables to execute. If no entries are specified, the project's default tasks are executed.
         *
         * @param launchables The launchables for this build.
         * @return this
         * @since 1.12
         */
        BuildLauncher forLaunchables(Launchable... launchables);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/TaskSelector.java

     */
    package org.gradle.tooling.model;
    
    /**
     * Represents a {@link Launchable} that uses task name to select tasks executed from a given project and its sub-projects. This is
     * roughly equivalent to running `gradle &lt;task-name&gt;` from the command-line.
     *
     * @since 1.12
     */
    public interface TaskSelector extends Launchable {
        /**
         * Returns the name that will be used to select tasks.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. 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)
Back to top