Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for forTask (0.1 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventLegacyCrossVersionTest.groovy

            setupProject()
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                it.newBuild().forTasks(":a:taskC")
                    .addProgressListener(events, OperationType.BUILD_PHASE)
                    .run()
            }
    
            then:
            events.getAll().isEmpty()
        }
    
        def setupProject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r24/ModelTasksToolingApiCrossVersionTest.groovy

        }
    
        def "tasks added using model rule can be executed"() {
            when:
            withConnection { connection ->
                def build = connection.newBuild()
                build.forTasks("fromModel")
                build.run()
            }
    
            then:
            file('build/output.txt').text == "from model rule defined task"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

        }
    
        private void runCacheableBuild(listener) {
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().withArguments("--build-cache").forTasks('cacheable').addProgressListener(listener, EnumSet.of(OperationType.TASK)).run()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Launchable.java

     *
     * <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>
     *
     * @since 1.12
     */
    public interface Launchable extends ProjectModel {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/JavaVersionCrossVersionTest.groovy

            configureJava8()
            def output = new ByteArrayOutputStream()
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks('help')
                build.standardOutput = output
                build.run()
            }
    
            then:
            output.toString().count("Welcome to Gradle")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiShutdownIntegrationTest.groovy

                        ProjectConnection connection = connector.forProjectDirectory(projectLocation).connect();
                        connection.newBuild().forTasks("help").run(new ResultHandler<Void>() {
                            public void onComplete(Void result) { }
                            public void onFailure(GradleConnectionException failure) { }
                        });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/gradle/BuildInvocations.java

     * 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>
     *
     * @since 1.12
     */
    public interface BuildInvocations extends Model, ProjectModel {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. docs/es/docs/deployment/index.md

    Esto difiere en las fases de **desarrollo**, donde estás constantemente cambiando el código, rompiéndolo y arreglándolo, deteniendo y reiniciando el servidor de desarrollo, etc.
    
    ## Estrategias de despliegue
    
    Existen varias formas de hacerlo dependiendo de tu caso de uso específico y las herramientas que uses.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 11:55:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/UserHomeDirCrossVersionSpec.groovy

                connector.useGradleUserHomeDir(userHomeDir)
            }
            toolingApi.withConnection { connection ->
                BuildLauncher build = connection.newBuild()
                build.forTasks("gradleBuild");
                build.standardOutput = baos
                build.run()
            }
            def output = baos.toString("UTF-8")
    
            then:
            output.contains('userHomeDir=' + userHomeDir.absolutePath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ModelBuilder.java

         *
         * @param tasks The paths of the tasks to be executed. Relative paths are evaluated relative to the project for which this launcher was created.
         * @return this
         * @since 1.2
         */
        ModelBuilder<T> forTasks(String... tasks);
    
        /**
         * <p>Specifies the tasks to execute before building the model.</p>
         *
         * <p>If not configured, null, or an empty array is passed, then no tasks will be executed.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top