Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 206 for rootProject (0.25 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    ) {
        val gradleRootProject = when {
            project.name == "gradle" -> project.rootProject
            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
        if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) {
            val rootProjectName = rootProject.name
            val isInBuildLogic = rootProjectName == "build-logic"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApEclipseModelNaturesAndBuildCommandsCrossVersionSpec.groovy

            given:
            plugins.each { plugin -> buildFile << "apply plugin: '${plugin}'\n" }
            settingsFile << "rootProject.name = 'root'"
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            def natures = rootProject.projectNatures.collect{ it.id }
    
            then:
            if (plugins.contains('ear') && targetVersion < GradleVersion.version("8.0") ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. build.gradle.kts

          signature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } }
        } else {
          // Everything else requires Android API 21+.
          signature(rootProject.libs.signature.android.apilevel21) { artifact { type = "signature" } }
        }
    
        // OkHttp requires Java 8+.
        signature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:32:42 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

            if (rootProject == null) {
                throw new IllegalStateException("The root project is not yet available for " + this + ".");
            }
            return rootProject;
        }
    
        @Override
        public void setRootProject(ProjectInternal rootProject) {
            this.rootProject = rootProject;
        }
    
        @Override
        public void rootProject(Action<? super Project> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java

        public static final String DEFAULT_SCALA_PLATFORM_VERSION = "2.10.7";
        private final Project rootProject;
    
        public IdeaScalaConfigurer(Project rootProject) {
            this.rootProject = rootProject;
        }
    
        public void configure() {
            rootProject.getGradle().projectsEvaluated(new Action<Gradle>() {
                @Override
                public void execute(Gradle gradle) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            def nestedChild2 = project("child2", nestedChild1, nestedBuild)
    
            expect:
            rootProject.toString() == "root project 'root'"
            rootProject.displayName == "root project 'root'"
            rootProject.path == ":"
            rootProject.buildTreePath == ':'
            rootProject.identityPath == Path.ROOT
    
            child1.toString() == "project ':child1'"
            child1.displayName == "project ':child1'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

             */
            createDirs("1", "2")
            settingsFile << """
                rootProject.name = 'root'
                include '1', '2'
            """
            buildFile << """
                subprojects {
                    task otherBuild(type:GradleBuild) {
                        dir = "\${rootProject.file('subprojects')}"
                        tasks = ['log']
                        buildName = project.name + "nested"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. 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)
Back to top