Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for rootProject (0.13 sec)

  1. 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)
  2. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            then:
            models.size() == 3
    
            def rootProject = models[0]
            rootProject.projectIdentifier.projectPath == ':'
            rootProject.projectIdentifier.buildIdentifier.rootDir == projectDir
            rootProject.mainComponent == null
            rootProject.testComponent == null
    
            def appProject = models[1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

        }
    
        def 'rootProject listeners are attributed to the correct registrant'() {
            given:
            def addGradleListeners = { String source ->
                """
                    gradle.rootProject({
                        println "gradle.rootProject(Action) from $source"
                    } as Action)
                    gradle.rootProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            file('build.gradle') << """
                ${defineUpdateTask('tar')}
                ${defineVerifyTask('tar')}
    
                def theArchive1 = rootProject.file('test1.tar')
                def theArchive2 = rootProject.file('test2.tar')
    
                tasks.register('update1', UpdateTask) {
                    archive = theArchive1
                    replacementText = 'modification 1'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top