Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for rootProject (0.23 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

            crossProjectModelAccess.access(referrerProject, delegate.rootProject)
    
        override fun rootProject(action: Action<in Project>) {
            delegate.rootProject(action.withCrossProjectModelAccessCheck())
        }
    
        override fun allprojects(action: Action<in Project>) {
            // Use the delegate's implementation of `rootProject` to ensure that the action is only invoked once the rootProject is available
            delegate.rootProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

        private def pluginApplyingModel = PluginApplyingBuilder.MODEL_NAME
    
        def "can fetch IdeaProject model"() {
            settingsFile << """
                rootProject.name = 'root'
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def ideaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            }
    
            where:
            invocation               | accessedProjects | message
            "configure(rootProject)" | 1                | "another project ':'"
            "rootProject"            | 1                | "another project ':'"
            "allprojects"            | 2                | "subprojects of project ':'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy

                assert buildPath == ':'
                assert rootProject.projectDir == rootDir.absolutePath
                assert rootProject.buildFile == rootDir.file("build.gradle").absolutePath
            }
            with(projectsIdentified[1].details) {
                assert buildPath == childBuild
                assert rootProject.projectDir == childDir.absolutePath
                assert rootProject.buildFile == childDir.file("build.gradle").absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

                ${server.callFromBuildUsingExpression("'model-' + project.name")}
            """)
            settingsFile << """
                include("a")
                include("b")
                rootProject.name = "root"
            """
            apply(testDirectory)
            apply(file("a"))
            apply(file("b"))
    
            // Prebuild buildSrc
            server.expect("configure-root")
            server.expect("configure-a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            file("included/settings.gradle") << "rootProject.name = 'included'"
            buildFile.text = """
                buildscript {
                    dependencies {
                        classpath(files("./included/build/libs/included.jar"))
                    }
                }
                apply plugin: MyPlugin
            """
            settingsFile << """rootProject.name = 'root'"""
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

    import org.gradle.tooling.model.gradle.GradleBuild
    
    class IsolatedProjectsToolingApiModelQueryIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        def setup() {
            settingsFile << """
                rootProject.name = 'root'
            """
        }
    
        def "caches creation of custom tooling model"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

        def setup() {
            configurationCache = newConfigurationCacheFixture()
        }
    
        def "build on Java project with no source"() {
            given:
            settingsFile << """
                rootProject.name = 'somelib'
            """
            buildFile << """
                plugins { id 'java' }
            """
    
            when:
            configurationCacheRun "build"
    
            then:
            assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

                useHostname()
                start()
            }
            def remoteRepo = new MavenHttpRepository(server, mavenRepo)
    
            def repositoryName = "testrepo"
            settingsFile "rootProject.name = 'root'"
            buildFile buildFileConfiguration("""
                repositories {
                    maven {
                        name "${repositoryName}"
                        url "${remoteRepo.uri}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top