Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for when (0.28 sec)

  1. 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)
  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-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)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
            jsonFile << nonExistentAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

                    </section>
                </section>
            ''')
    
            when:
            ClassDoc doc = withCategories {
                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, extensionMetaData)
                builder.build(doc)
                doc.mergeContent()
            }
    
            then:
            doc.classExtensions.size() == 2
    
            doc.classExtensions[0].pluginId == 'a'
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
  7. .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)
  8. 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)
  9. build-logic-commons/gradle-plugin/build.gradle.kts

        implementation("net.ltgt.gradle:gradle-errorprone-plugin:3.1.0")
    
        implementation("org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:4.4.0")
        // This Kotlin version should only be updated when updating the above kotlin-dsl version
        implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
        implementation("org.gradle.kotlin:gradle-kotlin-dsl-conventions")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 977 bytes
    - Viewed (0)
  10. 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)
Back to top