Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for variant (0.48 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                is ProjectComponentIdentifier -> if (fromComponent != rootComponent.id) {
                    // Only track accessible dependencies from _transitive_ local dependencies
                    // We should not include the root variant's dependencies in the locally accessible set
                    locallyAccessible.add(to.owner)
                }
                is ModuleComponentIdentifier -> externallyAccessible.add(to.owner)
            }
    
    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. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
                tasks.named("check").configure { dependsOn(testTask) }
            }
        }
        // Create a variant of the test suite to force realization of component metadata
        if (testType == TestType.INTEGRATION) {
            createTestTask(prefix + "ForceRealizeTest", defaultExecuter, sourceSet, testType) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    }
    
    
    enum class Variance {
    
        /**
         * Represent an invariant type argument.
         * e.g. `<T>`
         */
        INVARIANT,
    
        /**
         * Represent a covariant type argument.
         * Also known as "extends-bound" or "upper bound".
         * e.g. `<? extends T>`
         */
        COVARIANT,
    
        /**
         * Represent a contravariant type argument.
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    
    private
    fun ApiTypeUsage.toTypeArgumentString(): String =
        "${variance.toKotlinString()}$sourceName${typeArguments.toTypeArgumentsString(type)}${isNullable.toKotlinNullabilityString()}"
    
    
    private
    fun Variance.toKotlinString() =
        when (this) {
            Variance.INVARIANT -> ""
            Variance.COVARIANT -> "out "
            Variance.CONTRAVARIANT -> "in "
        }
    
    
    private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top