Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 193 for allprojects (0.14 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/multi_project_configuration_and_execution.adoc

    Coupling during configuration can result in flawed build outcomes when using 'configuration on demand', while coupling during execution can affect parallel execution.
    
    One common source of coupling is configuration injection, such as using `allprojects{}` or `subprojects{}` in build scripts.
    
    To avoid coupling issues, it's recommended to:
    
    - Refrain from referencing other subprojects' build scripts and prefer cross-configuration from the root project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 21:08:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

            def config = 'compileClasspath'
            resolve = new ResolveTestFixture(buildFile, config)
            resolve.prepare()
            resolve.expectDefaultConfiguration("api")
            buildFile << """
                allprojects {
                    tasks.named("checkDeps") {
                        def outputFile = rootProject.file("\${rootProject.buildDir}/${config}-files.txt")
                        def files = configurations.${config}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/NativeAlignmentWithJavaPlatformResolveIntegrationTest.groovy

                        maven(MavenPublication) {
                            from components.java
                        }
                    }
                }
            """
            file("build.gradle") << """
                allprojects {
                    group = 'com.acme.foo'
                    version = rootProject.getProperty('ver')
                }
                subprojects {
                    apply plugin: 'maven-publish'
                    publishing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java

     * <code>projects</code> property. Here's how to generate an HTML
     * dependency report for all the projects of a multi-project build, for example:
     * <pre>
     * htmlDependencyReport {
     *     projects = project.allprojects
     * }
     * </pre>
     * <p>
     * The report is generated in the <code>build/reports/project/dependencies</code> directory by default.
     * This can also be changed by setting the <code>reports.html.destination</code> property:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/AndroidGradlePluginVersions.groovy

                    settings.pluginManagement.repositories {
                        $agpNightlyRepositoryDeclaration
                        gradlePluginPortal()
                    }
                }
                allprojects {
                    buildscript {
                        repositories {
                            $agpNightlyRepositoryDeclaration
                        }
                    }
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy

        def "resolved configurations are exposed via build operation"() {
            setup:
            buildFile << """
                allprojects {
                    apply plugin: "java"
                    repositories {
                        maven { url '${mavenHttpRepo.uri}' }
                    }
                }
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

                "include 'sub'",
                "project(':sub').projectDir = new File(settingsDir, 'root/sub')"
            );
    
            getTestDirectory().createDir("root").file("build.gradle").writelns("allprojects { task thing }");
    
            inTestDirectory().withTasks(":thing").run().assertTasksExecuted(":thing");
            inTestDirectory().withTasks(":sub:thing").run().assertTasksExecuted(":sub:thing");
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. platforms/software/reporting/src/main/java/org/gradle/api/reporting/GenerateBuildDashboard.java

        }
    
        private Set<Reporting<? extends ReportContainer<?>>> getAggregatedTasks() {
            final Set<Reporting<? extends ReportContainer<?>>> reports = new HashSet<>();
            getProject().allprojects(new Action<Project>() {
                @Override
                public void execute(Project project) {
                    project.getTasks().all(new Action<Task>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:30:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

            def subprojects = (1..NUMBER_OF_SUBPROJECTS).collect { "project$it" }
            def rootProject = multiProjectBuild("javaProject", subprojects) {
                buildFile << """
                    allprojects {
                        apply plugin: 'java-library'
    
                        tasks.withType(JavaCompile).configureEach {
                            options.fork = true
                        }
                    }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

                }
    
                class TestCapability implements Capability {
                    String group
                    String name
                    String version
                }
    
                allprojects {
                    configurations { implementation }
                }
    
                def testAttributes = project.services.get(ImmutableAttributesFactory)
                     .mutable()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top