Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for multiProject (0.33 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def multiProject() {
            given:
            sample multiProject
    
            when:
            run "installMainExecutable"
    
            then:
            executed(":exe:mainExecutable")
    
            and:
            sharedLibrary(multiProject.dir.file("lib/build/libs/main/shared/main")).assertExists()
            executable(multiProject.dir.file("exe/build/exe/main/main")).assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    ====
    include::sample[dir="snippets/multiproject/dependencies-java/kotlin",files="settings.gradle.kts[]"]
    include::sample[dir="snippets/multiproject/dependencies-java/groovy",files="settings.gradle[]"]
    ====
    
    The source code for the convention plugin created in the `buildSrc` directory is as follows:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/intro_multi_project_builds.adoc

    As an example, let's use a multi-project build with the following structure:
    ----
    > gradle -q projects
    ----
    ----
    include::{snippetsPath}/java/multiproject/tests/listProjects.out[]
    ----
    
    Multi-project builds are collections of tasks you can run.
    The difference is that you may want to control _which_ project's tasks get executed.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

        @ToBeFixedForIsolatedProjects(because = "Access to root project from sub projects")
        def "can visit and edit zip archive differently from two different projects in a multiproject build"() {
            given: "an archive in the root of a multiproject build"
            createZip('test.zip') {
                subdir1 {
                    file ('file1.txt').text = 'original text 1'
                }
                subdir2 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    .Custom buildSrc build script
    ====
    include::sample[dir="snippets/java/multiproject/kotlin",files="buildSrc/build.gradle.kts[]"]
    include::sample[dir="snippets/java/multiproject/groovy",files="buildSrc/build.gradle[]"]
    ====
    
    A typical project including `buildSrc` has the following layout.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

            }
            generatedCode['RootProjectDependency'].with {
                noSubAccessors()
            }
    
            and:
            compiles()
        }
    
        def "generates accessors for flat multiproject"() {
            when:
            generateSources project("root") {
                project("core")
                project("lib")
                project("utils")
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCycleIntegrationTest.groovy

    :buildB:compileJava
    \\--- :buildC:compileJava
         \\--- :buildB:compileJava (*)""")
        }
    
        def "dependency cycle between subprojects in an included multiproject build"() {
            given:
            dependency "org.test:buildB:1.0"
    
            buildB.buildFile << """
                dependencies {
                    implementation "org.test:b1:1.0"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy

                '''.stripIndent()
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        def "can show dependent components in parallel"() {
            given: 'a multiproject build'
            settingsFile.text = multiProjectSettings()
            buildScript multiProjectBuild()
    
            when: 'two reports in parallel'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

            imlHasDependencies(["buildB"], ["external-dep-1.0.jar"])
        }
    
        @ToBeFixedForConfigurationCache
        def "builds IDEA metadata with dependency cycle between substituted projects in a multiproject build"() {
            given:
            dependency "org.test:buildB:1.0"
    
            buildB.buildFile << """
                dependencies {
                    api "org.test:b1:1.0"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    ====
    include::sample[dir="snippets/plugins/multiproject/kotlin", files="settings.gradle.kts[tags=include-subprojects];build.gradle.kts[tags=plugins-on-subprojects];hello-a/build.gradle.kts[];hello-b/build.gradle.kts[];goodbye-c/build.gradle.kts[]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top