Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for When (0.19 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            def annotations = []
            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating'
    
            when:
            annotations.add(incubatingAnnotation)
    
            then:
            rule.maybeViolation(jApiType) == null
    
            where:
            apiElement    | jApiTypeName
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. .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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        quick(true, true, true, 120, 4),
    
        // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version
        platform(true, true, true),
    
        // Cross version tests select a small set of versions to cover when run as part of this stage
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top