- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for rootProject (0.27 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)