Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getBranch (0.16 sec)

  1. build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts

            buildEnvironmentExtension.gitCommitId = service.flatMap { it.gitCommitId }
            buildEnvironmentExtension.gitBranch = service.flatMap { it.gitBranch }
            buildEnvironmentExtension.repoRoot = this@with
            buildEnvironmentExtension.rootProjectBuildDir = service.flatMap { it.parameters.rootProjectBuildDir }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 07:44:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentExtension.kt

     */
    
    package gradlebuild.basics
    
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.provider.Property
    
    
    interface BuildEnvironmentExtension {
        val gitCommitId: Property<String>
        val gitBranch: Property<String>
        val repoRoot: DirectoryProperty
        val rootProjectBuildDir: DirectoryProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 07:44:12 UTC 2024
    - 929 bytes
    - Viewed (0)
  3. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

            val rootProjectBuildDir: DirectoryProperty
        }
    
        @get:Inject
        abstract val providers: ProviderFactory
    
        val gitCommitId = git("rev-parse", "HEAD")
        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. test-site/activator-launch-1.3.2.jar

    ttings { private String resolverName; private String branch; private String conflictManager; private String resolveMode; public void IvySettings$ModuleSettings(String, String, String, String); public final String toString(); public final String getBranch(); public final String getResolverName(); public final String getConflictManager(); public final String getResolveMode(); } org/apache/ivy/core/settings/XmlSettingsParser$IvyVariableContainer.class package org.apache.ivy.core.settings; final synchronized...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    /**
     * 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)
    
    
    fun Project.currentGitCommitViaFileSystemQuery(): Provider<String> = getBuildEnvironmentExtensionOrNull()?.gitCommitId ?: objects.property(String::class.java)
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top