Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for rootProject (0.37 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy

            given:
            settingsFile << """
                rootProject.name = 'module-main'
                includeBuild('module-b-folder')
            """
            file('module-b-folder').mkdir()
            file('module-b-folder/settings.gradle') << """
                rootProject.name = 'module-b-name'
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r28/ToolingApiEclipseModelCrossVersionSpec.groovy

            file('settings.gradle').text = """
            rootProject.name = "root"
            include 'api', 'impl', 'contrib:api', 'contrib:impl'"""
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject rootImplProject = rootProject.children.find { it.name == 'root-impl' }
            EclipseProject contribProject = rootProject.children.find { it.name == 'contrib' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

        }
    
        def "can fetch GradleProject model for an included build project"() {
            settingsFile << """
                rootProject.name = 'root'
                includeBuild("included1")
                include("lib1")
            """
    
            file("included1/settings.gradle") << """
                rootProject.name = 'included1'
                include("lib2")
            """
    
            when: "fetching without Isolated Projects"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_settings_files.adoc

    For example, we can set the root project name in the settings script using the `Settings.rootProject` property:
    
    [source,kotlin]
    ----
    settings.rootProject.name = "root"
    ----
    
    Which is usually shortened to:
    
    [source,kotlin]
    ----
    rootProject.name = "root"
    ----
    
    [[sec:standard_settings_properties]]
    === Standard `Settings` properties
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 04:15:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy

    class GradleLifecycleIsolationIntegrationTest extends AbstractIntegrationSpec {
    
        def 'lifecycle actions are isolated per project and their order is preserved'() {
            given:
            settingsFile '''
                rootProject.name = 'root'
                include 'sub'
    
                def log = []
                gradle.lifecycle.beforeProject {
                    log << "1: before $name $version"
                    version = 'from action'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/SettingsDelegate.kt

        override fun getGradle(): Gradle =
            delegate.gradle
    
        override fun includeBuild(rootProject: Any) =
            delegate.includeBuild(rootProject)
    
        override fun includeBuild(rootProject: Any, configuration: Action<ConfigurableIncludedBuild>) =
            delegate.includeBuild(rootProject, configuration)
    
        override fun enableFeaturePreview(name: String) =
            delegate.enableFeaturePreview(name)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            }
    
            private
            fun createRootProject() {
                val rootProject = createProject(rootProjectDescriptor())
                gradle.rootProject = rootProject
                gradle.defaultProject = rootProject
            }
    
            private
            fun rootProjectDescriptor() = projectDescriptorRegistry.rootProject!!
    
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ScriptDependencyResolveIntegrationTest.groovy

            module.artifact(classifier: 'classifier')
            module.publish()
            mavenRepo().module("org.gradle", "other", "preview-1").publish()
    
            and:
            settingsFile << """
    rootProject.name = 'testproject'
    """
    
            buildFile << """
    group = 'org.gradle'
    version = '1.0'
    
    buildscript {
        repositories { maven { url "${mavenRepo().uri}" } }
        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy

        }
    
        private String settingsForBuildWithSubprojects(String resolverCode) {
            return """
                ${applyToolchainResolverPlugin("CustomToolchainResolver", resolverCode)}
    
                rootProject.name = 'main'
    
                include('subproject1')
                include('subproject2')
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

        @TargetGradleVersion(">=3.0 <4.4")
        def "Source folder doesn't define classpath attributes"() {
            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile << "apply plugin: 'java'"
            file('src/main/java').mkdirs()
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top