- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toRegex (0.08 sec)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
// experimental branch of gradle/gradle-promote private const val GRADLE_PROMOTE_EXPERIMENTAL_VCS_ROOT_ID = "Gradle_GradlePromoteExperimental" private val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex() fun fromDslContext(): VersionedSettingsBranch = VersionedSettingsBranch(DslContext.getParameter("branch")) } val isMainBranch: Boolean get() = isMaster || isReleaseRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 2.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
"-SNAPSHOT", "-alpha.*\\d+", "-beta.*\\d+", "-dev-?\\d+", "-dev-\\d+-\\d+", "-rc(-?\\d+)?", "-M.+", "-eap-?\\d+" ).map { it.toRegex(RegexOption.IGNORE_CASE) } @get:Internal abstract val libraryVersionFile: RegularFileProperty @TaskAction fun updateInitPluginTemplateVersionFile() { val versionProperties = Properties()Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Nov 24 20:45:41 UTC 2025 - 5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
* release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */ fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? { val oldReleasePattern = "release(\\d+)x".toRegex() return when (branchName) { "master" -> 0 "release" -> 1 else -> { val matchResult = oldReleasePattern.find(branchName) if (matchResult == null) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 4.3K bytes - Viewed (0)