Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for rootProject (0.18 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/DeclarativeDslProjectSettingsIntegrationSpec.groovy

            file("settings.gradle.dcl") << """
            rootProject.name = "foo"
            rootProject.name = "bar"
            rootProject.name = "baz"
            include(":baz")""".stripIndent().trim()
    
            when:
            def failure = fails(":projects")
    
            then:
            failure.assertHasErrorOutput('2:1: Value reassigned in (this:(top-level-object)).rootProject.name := "bar"')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:21:50 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

                size() == 2
                with(get(0)) {
                    details.rootProject.name == 'thing'
                    details.rootProject.path == ':'
                    details.rootProject.projectDir == testDirectory.absolutePath
                    details.rootProject.children.size() == 3
                    with(details.rootProject.children.first() as Map<String, Object>) {
                        name == 'a'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r29/ToolingApiEclipseModelCrossVersionSpec.groovy

            settingsFile << """
                rootProject.name = 'root'
                include 'java-project', 'groovy-project', 'scala-project'
            """
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject javaProject = rootProject.children.find{ it.name == 'java-project' }
            EclipseProject groovyProject = rootProject.children.find{ it.name == 'groovy-project' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiEclipseModelCrossVersionSpec.groovy

    """
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
    
            then:
            rootProject.javaSourceSettings.jdk != null
            rootProject.javaSourceSettings.jdk.javaVersion == JavaVersion.current()
            rootProject.javaSourceSettings.jdk.javaHome.toString() == rootProject.gradleProject.description
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r410/GradleBuildModelCrossVersionSpec.groovy

            then:
            rootBuild.buildIdentifier.rootDir == rootDir
            rootBuild.rootProject.name == "root"
            rootBuild.includedBuilds.size() == 1
    
            def buildB = rootBuild.includedBuilds[0]
            buildB.buildIdentifier.rootDir == buildBDir
            buildB.rootProject.name == "buildB"
            buildB.projects.size() == 4
            buildB.includedBuilds.size() == 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

            given:
            settingsFile << """
                rootProject.name = 'root-project'
                includeBuild('other-build')
            """
            file('other-build/settings.gradle') << """
                rootProject.name = 'other-build'
                includeBuild('../third-build')
            """
            file('third-build/settings.gradle') << """
                rootProject.name = 'third-build'
                include('sub')
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultIsolatedProject.java

    public final class DefaultIsolatedProject implements IsolatedProject {
    
        private final ProjectInternal project;
        private final ProjectInternal rootProject;
    
        public DefaultIsolatedProject(ProjectInternal project, ProjectInternal rootProject) {
            this.project = project;
            this.rootProject = rootProject;
        }
    
        @Override
        public String getName() {
            return project.getName();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 18:34:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r210/ToolingApiEclipseModelCrossVersionSpec.groovy

            """
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject subprojectA = rootProject.children.find { it.name == 'subproject-a' }
            EclipseProject subprojectB = rootProject.children.find { it.name == 'subproject-b' }
            EclipseProject subprojectC = rootProject.children.find { it.name == 'subproject-c' }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/GradleBuildModelCrossVersionSpec.groovy

                    rootProject.name = 'root'
                    includeBuild 'includedBuild'
                """
            }
            def includedBuildDir = multiProjectBuildInSubFolder("includedBuild", ["a", "b", "c"])
    
            when:
            GradleBuild model = loadToolingModel(GradleBuild)
    
            then:
            model.buildIdentifier.rootDir == rootDir
            model.rootProject.name == "root"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

            def projects = Mock(BuildProjectRegistry)
            def rootProject = Mock(ProjectState)
    
            _ * build.name >> name
            _ * build.projects >> projects
            _ * build.importableBuild >> true
            _ * build.projectsLoaded >> true
            _ * projects.rootProject >> rootProject
            _ * rootProject.projectPath >> Path.ROOT
            _ * rootProject.identityPath >> Path.path(":${name}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top