- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for currentGitBranchViaFileSystemQuery (0.12 seconds)
-
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 Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Dec 21 08:58:33 GMT 2024 - 4.7K bytes - Click Count (1)