- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for When (0.16 sec)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
// TeamCity uses a dummy name when first running the DSL if (branch.contains("placeholder-1")) { return VersionedSettingsBranch(MASTER_BRANCH) } return VersionedSettingsBranch(branch) } private fun determineNightlyPromotionTriggerHour(branchName: String) = when (branchName) { MASTER_BRANCH -> 0
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) -
architecture/build-state-model.md
### Build session state A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`. A session runs the build one or more times. For example, when continuous build is enabled, the session may run the build many times, but when it is disabled, the session will run the build once only. The build session state is managed by the `BuildSessionState` class.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sun May 05 22:45:11 GMT 2024 - 3.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
val ctDeclaringClass = ctMember.declaringClass when { ctMember is CtMethod && ctMember.isSynthetic -> true // synthetic members cannot have kdoc ctMember is CtClass -> ktFile.ktClassOf(ctMember)?.isDocumentedAsSince(version) == true ktFile.ktClassOf(ctDeclaringClass)?.isDocumentedAsSince(version) == true -> true else -> when (ctMember) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
flag(flags) } private fun KotlinClassMetadata.hasKotlinFlags(memberType: MemberType, jvmSignature: String, predicate: (Flags) -> Boolean): Boolean = when (this) { is KotlinClassMetadata.Class -> hasClassFlags(this::toKmClass, memberType, jvmSignature, predicate) is KotlinClassMetadata.FileFacade -> hasPackageFlags(this::toKmPackage, memberType, jvmSignature, predicate)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:14:15 GMT 2023 - 4.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) { this } else { val parent = dir("..") when { parent.file("version.txt").asFile.exists() -> parent this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() } }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
import japicmp.model.JApiBehavior import japicmp.model.JApiClass import japicmp.model.JApiCompatibility import japicmp.model.JApiField internal val JApiCompatibility.jApiClass: JApiClass get() = when (this) { is JApiClass -> this is JApiField -> this.getjApiClass() is JApiBehavior -> this.getjApiClass() else -> throw IllegalStateException("Unsupported japicmp member type '${this::class}'")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Dec 22 13:46:27 GMT 2023 - 5.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
override fun onFinish(event: FinishEvent) { if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) { val taskPath = event.descriptor.taskPath when (event.result) { is TaskSuccessResult -> { addExecutedTaskPath(taskPath) if (containsFailedTest(taskPath)) { addFailedTaskPath(taskPath)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
timeZone = TimeZone.getTimeZone("UTC") } val buildTimestampFromProperty = buildTimestampFromGradleProperty.orNull val buildTime = when { buildTimestampFromProperty != null -> { timestampFormat.parse(buildTimestampFromProperty) } runningInstallTask.get() || runningDocsTestTask.get() || runningOnCi.get() -> {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.1K bytes - Viewed (0) -
architecture/README.md
For example, each process has different supported JVMs and a different set of services available for dependency injection. While a lot of Gradle source code runs only in the Gradle daemon, not all of it does and so, when working on some source code it is important to be aware of the runtimes in which it will run. See [Gradle runtimes](runtimes.md) for a list of these runtimes and more details. ## Build state model
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu May 02 06:42:46 GMT 2024 - 2.4K bytes - Viewed (0)