Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for acquire (0.15 sec)

  1. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                    if (matchResult == null) {
                        null
                    } else {
                        (matchResult.groupValues[1].toInt() - 4).apply {
                            require(this in 2..23)
                        }
                    }
                }
            }
        }
    
        val isMainBranch: Boolean
            get() = isMaster || isRelease
        val isMaster: Boolean
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/extensions.kt

        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
     * We have some "shared" host where a Linux build agent and a Windows build agent
     * both run on the same bare metal. Some builds require exclusive access to the
     * hardware resources (e.g. performance test).
     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    import java.io.File
    
    
    class TestFilesCleanupRootPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            require(project.rootProject == project) { "This plugin should be applied to root project!" }
            val globalExtension = project.extensions.create<TestFilesCleanupBuildServiceRootExtension>("testFilesCleanupRoot")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. .cm/complex_changes.cm

    # within the file.  We keep each automation (or very closely related group of automations) in
    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If a PR is very complex, require 2 approvals
      complex_changes:
        if:
          - {{ ('complex_changes' | isEnabledAutomation(pr)) }}
          - {{ branch | estimatedReviewTime >= 40 }}
          - {{ files | length >= 35 }}
          - {{ includes_src_changes }}
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            findLatest("junit-jupiter", "org.junit.jupiter:junit-jupiter-api:(5,)", versionProperties)
            findLatest("testng", "org.testng:testng:(6.0,7.6.0)", versionProperties) // TestNG 7.6.0 and above require JDK 11; see https://groups.google.com/g/testng-users/c/BAFB1vk-kok
            findLatest("slf4j", "org.slf4j:slf4j-api:(1.7,)", versionProperties)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 11:19:07 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

                    || candidateVersion.version.endsWith("-snapshot-1")
            }
    
            // Remove state for old versions of Gradle that we're unlikely to ever require again
            fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("caches"), expireDistributionCache)
    
            // Remove scripts caches
            fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                        "$linePrefix ${latestKotlinVersions.first()} through ${latestKotlinVersions.last()}."
                    } else {
                        line
                    }
                }
            )
            require(lineFound) {
                "File '$docFile' does not contain the expected Kotlin compatibility line"
            }
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 13:50:17 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                    } else {
                        line
                    }
                }
            )
            require(lineFound) {
                "File '$docFile' does not contain the expected Kotlin compatibility line"
            }
        }
    
        private
        val List<String>.firstBaseVersion: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    Available JDKs on your machine are automatically detected and wired for the various compile and test tasks.
    Some tests require multiple JDKs to be installed on your computer, be aware of this if you make changes related to anything toolchains related.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    filter { it.group == "xml-apis" }.forEach {
                        it.version { require("1.4.01") }
                        it.because("Gradle has trouble with the versioning scheme and pom redirects in higher versions")
                    }
                }
            }
        }
    }
    
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Aug 24 23:27:45 GMT 2022
    - 9.1K bytes
    - Viewed (0)
Back to top