Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,623 for isIncluded (0.29 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskDependenciesCrossVersionSpec.groovy

        }
    
        def "reports task dependencies for tasks in included builds"() {
            given:
            settingsFile << """
                includeBuild 'included'
            """
            buildFile << """
                task run {
                    dependsOn gradle.includedBuild('included').task(':d')
                }
            """
            file('included/build.gradle') << """
                task a { enabled = false }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildLookupIntegrationTest.groovy

                gradle.includedBuild("buildB")
            """)
    
            when:
            fails(buildA, "broken")
    
            then:
            failure.assertHasCause("Included build 'buildB' not found in build 'buildA'.")
        }
    
        def "included builds added from command-line are visible to root build"() {
            given:
            def buildB = singleProjectBuild("buildB") {
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/initialization/IncludedBuild.java

    import java.io.File;
    
    /**
     * A build that is included in the composite.
     *
     * @since 3.1
     */
    public interface IncludedBuild {
        /**
         * The name of the included build.
         */
        String getName();
    
        /**
         * The root directory of the included build.
         */
        File getProjectDir();
    
        /**
         * Produces a reference to a task in the included build.
         */
        TaskReference task(String path);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 11 20:41:53 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildParallelIntegrationTest.groovy

            }
    
            expect:
            execute(buildA, "jar", "--max-workers=1")
        }
    
        def "constructs included build artifacts in parallel"() {
            given:
            server.start()
    
            when:
            def included = ['buildB', 'buildC', 'buildD']
            included.each { buildName ->
                def build = singleProjectBuild(buildName) {
                    buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/composite-builds/declared-substitution/README.adoc

    == Declaring the dependencies substituted by an included build
    
    By default, Gradle will configure each included build in order to determine the dependencies it can provide. The algorithm for doing this is very simple: Gradle will inspect the `group` and `name` for the projects in the included build, and substitute project dependencies for any matching external dependency.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildNestingIntegrationTest.groovy

            }
            includeBuild(buildB)
    
            when:
            fails(buildA, "help")
    
            then:
            failure.assertHasDescription("Included build $buildC has build path :buildB which is the same as included build $buildB")
        }
    
        def "reports failure for included build name that conflicts with subproject name"() {
            given:
            createDirs("buildA", "buildA/buildC")
            buildA.settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/initialization/ConfigurableIncludedBuild.java

    import org.gradle.api.Action;
    import org.gradle.api.artifacts.DependencySubstitutions;
    
    /**
     * A build that is to be included in the composite.
     *
     * @since 3.1
     */
    public interface ConfigurableIncludedBuild extends IncludedBuild {
    
        /**
         * Sets the name of the included build.
         *
         * @param name the name of the build
         * @since 6.0
         */
        void setName(String name);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 15 13:31:48 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildNestedBuildLookupIntegrationTest.groovy

     */
    
    package org.gradle.integtests.composite
    
    class CompositeBuildNestedBuildLookupIntegrationTest extends AbstractCompositeBuildValidationIntegrationTest {
        def "can query the included builds defined by an included build"() {
            given:
            def buildC = singleProjectBuild("buildC") {
            }
            def buildB = singleProjectBuild("buildB") {
                settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/build/BuildIncluder.java

    public interface BuildIncluder {
        /**
         * Registers an included build of the current build. An included build may provide plugins and libraries to this build and all other builds in the tree.
         */
        CompositeBuildParticipantBuildState includeBuild(IncludedBuildSpec includedBuildSpec);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

            includedBuilds << buildC
        }
    
        def "two included builds can include each other"() {
            when:
            buildB.settingsFile << "includeBuild '../buildC'"
            buildC.settingsFile << "includeBuild '../buildB'"
    
            then:
            execute(buildA, 'help')
    
            and:
            canRunFromCache(buildA, 'help')
        }
    
        def "included build can include root build"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top