- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for currentGitBranchViaFileSystemQuery (0.48 seconds)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
.orElse(systemProperty(propertyName)) .orElse(environmentVariable(propertyName)) val Project.buildBranch: Provider<String> get() = environmentVariable(BUILD_BRANCH).orElse(currentGitBranchViaFileSystemQuery()) /** * The logical branch. * For non-merge-queue branches this is the same as {@link #buildBranch}. * For merge-queue branches, this is the base branch. *
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json") /** * We use command line Git instead of JGit, because JGit's `Repository.resolve` does not work with worktrees. */ fun Project.currentGitBranchViaFileSystemQuery(): Provider<String> = getBuildEnvironmentExtensionOrNull()?.gitBranch ?: objects.property(String::class.java)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1)