Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for allprojects (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

                gradle.lifecycle.afterProject { println("lifecycle: gradle.lifecycle.afterProject '\${it.path}'") }
    
                // register eager callbacks
                gradle.allprojects { println("lifecycle: gradle.allprojects '\${it.path}'") }
                gradle.beforeProject { println("lifecycle: gradle.beforeProject '\${it.path}'") }
                gradle.afterProject { println("lifecycle: gradle.afterProject '\${it.path}'") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy

            given:
            settingsFile << """
                include('a')
                include('b')
            """
            withSomeToolingModelBuilderPluginInBuildSrc()
            buildFile << """
                allprojects {
                    plugins.apply('java-library')
                }
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModelFails()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityBuildLifecycleService.java

            this.features = features;
        }
    
        @Override
        public void beforeProject(Action<? super Project> action) {
            // Preserve behavior when Isolated Projects is not enabled:
            // - `allprojects` executes eagerly before any project has been evaluated, allowing its effects
            //   to be observable from other eager configuration blocks (e.g., `subprojects { ... }`).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 21:44:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DeprecationsCrossVersionSpec.groovy

                        project.allprojects.each { p ->
                            p.configurations.compileClasspath.files()
                        }
                        return ["result"]
                    }
                }
    
                project.services.get(ToolingModelBuilderRegistry.class).register(new MyModelBuilder())
    
                allprojects {
                    apply plugin: 'java-library'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 20:23:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

        def "jdkName property from idea module model is available in the tooling API"() {
            given:
            settingsFile << "\ninclude 'root', 'child1', 'child2', 'child3'"
            buildFile << """
                allprojects {
                    apply plugin: 'idea'
                    apply plugin: 'java'
                }
    
                idea {
                    module {
                        jdkName = 'MyJDK1'
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "init script can inject configuration into the root project and all projects"() {
            given:
            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
    
            and:
            file("init.gradle") << """
    allprojects {
        task worker
    }
    rootProject {
        task root(dependsOn: allprojects*.worker)
    }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcTaskExecutionIntegrationTest.groovy

        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "can exclude task from main build when buildSrc is present"() {
            file("buildSrc/build.gradle").createFile()
            createDirs("lib")
            settingsFile """
                include "lib"
            """
            buildFile """
                allprojects {
                    task thing {
                        doLast {}
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/build.gradle

            google()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:$androidPluginVersion'
            classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion'
        }
    }
    
    allprojects {
        repositories {
            mavenCentral()
            google()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 338 bytes
    - Viewed (0)
  9. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            then:
            0 * buildProjectRegistry.allProjects
            _ * executionPlan.addEntryTasks({ args -> assert args.size() == 0 })
            _ * executionPlan.addEntryTask({ args -> assert args.size() == 0 })
        }
    
        def "sets test filter with information from #requestType"() {
            setup:
            _ * buildProjectRegistry.allProjects >> [projectState]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/projectReports/tests/propertyListReport.out

    ------------------------------------------------------------
    Project ':api' - The shared API for the application
    ------------------------------------------------------------
    
    allprojects: [project ':api']
    ant: org.gradle.api.internal.project.DefaultAntBuilder@12345
    antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@12345
    artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@12345
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 578 bytes
    - Viewed (0)
Back to top