Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for When (0.13 sec)

  1. .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)
  2. 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)
  3. 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)
  4. 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)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

                            when {
                                singleFile.name.endsWith(".tar.gz") -> tarTree(singleFile)
                                else -> zipTree(singleFile)
                            }
                        }
                    ) {
                        eachFile {
    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)
  6. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val sourceFile: String
            val testSourceFile: String
            val sourceFileTree: String
            val testSourceFileTree: String
            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        fun isSince(version: String, member: JApiCompatibility): JavaSourceQuery<Boolean> =
            member.jApiClass.simpleName.let { declaringClassSimpleName ->
                JavaSourceQuery(
                    false,
                    when (member) {
                        is JApiClass -> isSinceJavaClassVisitorFor(declaringClassSimpleName, version)
                        is JApiField -> isSinceJavaFieldVisitorFor(member, version)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. 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)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        while (queue.isNotEmpty()) {
            val dependency = when (val result = queue.removeFirst()) {
                is ResolvedDependencyResult -> result
                else -> throw IllegalArgumentException("Expected ResolvedDependencyResult")
            }
    
            if (dependency.isConstraint) {
                continue
            }
    
            val to = dependency.resolvedVariant
    
            when (val fromComponent = dependency.from.id) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

         */
        const val ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS = "enableConfigurationCacheForDocsTests"
    
        /**
         * Run docs tests that are knowingly broken when running with the configuration cache enabled. Only applied when #ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS is also set.
         */
        const val RUN_BROKEN_CONFIGURATION_CACHE_DOCS_TESTS = "runBrokenConfigurationCacheDocsTests"
    
        internal
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top