Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for allprojects (0.19 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "can use camel-case for all segments of qualified task name"() {
            createDirs("child", "child/child")
            settingsFile << "include 'child', 'child:child'"
    
            buildFile << """
    allprojects { task thing }
    """
            when:
            run "chi:chi:th"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

    class ConfigurationBuildDependenciesIntegrationTest extends AbstractHttpDependencyResolutionTest {
        def setup() {
            createDirs("child")
            settingsFile << "include 'child'"
            buildFile << """
                allprojects {
                    configurations {
                        compile
                        create('default').extendsFrom compile
                    }
                }
                task useCompileConfiguration {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

            fixture.assertProjectsConfigured(":")
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "evaluates only project referenced in the task list"() {
            createDirs("api", "impl", "util", "util/impl")
            settingsFile << "include 'api', 'impl', 'util', 'util:impl'"
            buildFile << "allprojects { task foo }"
    
            when:
            run(":util:impl:foo")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

            succeeds(tasks)
            createdTasks
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "does not create rule based tasks in projects without required tasks"() {
            when:
            createDirs("a", "b", "c")
            settingsFile << "include 'a', 'b', 'c'"
            buildFile << """
                allprojects {
                    model {
                        tasks {
                            create("t1") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

    rootProject.name = 'test'
    include 'a', 'b'
    """
            buildFile << """
    def usage = Attribute.of('usage', String)
    def flavor = Attribute.of('flavor', String)
    def buildType = Attribute.of('buildType', String)
    
    allprojects {
        dependencies {
           attributesSchema {
              attribute(usage)
              attribute(flavor)
              attribute(buildType)
           }
        }
        configurations {
            compile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top