Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for variance (0.19 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            ApiTypeUsage(
                sourceName,
                isNullable,
                type(sourceName),
                variance,
                typeArguments.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) },
                bounds.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) }
            )
        }
    
    
    internal
    val ApiTypeUsage.isStarProjectionTypeUsage
    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)
  2. 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)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        val runtimeClasspath by configurations
        val externalComponents by lazy {
            runtimeClasspath.incoming.resolutionResult.rootComponent.map { rootComponent ->
                val rootVariant = rootComponent.variants.find { it.displayName == runtimeClasspath.name }
                rootVariant?.let { computeExternalDependenciesNotAccessibleFromProjectDependencies(rootComponent, it) } ?: emptySet()
            }.get()
        }
    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)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import gradlebuild.basics.BuildParams.BUILD_VCS_NUMBER
    import gradlebuild.basics.BuildParams.BUILD_VERSION_QUALIFIER
    import gradlebuild.basics.BuildParams.BUNDLE_GROOVY_4
    import gradlebuild.basics.BuildParams.CI_ENVIRONMENT_VARIABLE
    import gradlebuild.basics.BuildParams.DEFAULT_PERFORMANCE_BASELINES
    import gradlebuild.basics.BuildParams.ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS
    import gradlebuild.basics.BuildParams.FLAKY_TEST
    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)
  5. 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)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import gradlebuild.basics.BuildParams.CI_ENVIRONMENT_VARIABLE
    import org.gradle.api.JavaVersion
    import org.gradle.api.Project
    import org.gradle.api.file.Directory
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.provider.Property
    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)
  7. .teamcity/mvnw.cmd

    echo Please set the JAVA_HOME variable in your environment to match the >&2
    echo location of your Java installation. >&2
    echo.
    goto error
    
    :OkJHome
    if exist "%JAVA_HOME%\bin\java.exe" goto init
    
    echo.
    echo Error: JAVA_HOME is set to an invalid directory. >&2
    echo JAVA_HOME = "%JAVA_HOME%" >&2
    echo Please set the JAVA_HOME variable in your environment to match the >&2
    Batch File
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

        )
    
        /**
         * Modifies the start script injecting -javaagent flags. The start script file is updated in-place by appending Java agent switches to 'DEFAULT_JVM_OPTS' variable declaration.
         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections,org.jetbrains.annotations"/>
                <!-- The variants from org.gradle.util.internal should be used instead-->
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 16 22:05:16 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

            throw IllegalArgumentException("Android Studio home must be provided via the 'studioHome' system property, or auto downloading must be enabled via `autoDownloadAndroidStudio=true` gradle property, system property, or environment variable")
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top