Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 280 for provider (0.06 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

            }
        }.toMap()
    
    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T : Any> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    
    /**
     * Returns a new provider that takes its value from at most one
     * of the given providers. If no input provider is present, the output
     * provider will not be present. If more than one input provider
     * has a value specified, the resulting provider will throw an
     * exception when queried.
     */
    fun <T: Any> atMostOneOf(vararg providers: Provider<T>): Provider<T> {
        return providers.map { provider ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.TaskInterface.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method now provides default implementation"),
                    // see https://github.com/siom79/japicmp/issues/289
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

        @get:Inject
        abstract val execOperations: ExecOperations
    
        @get:Optional
        @get:Input
        val androidHome: Provider<String> = project.providers.environmentVariable("ANDROID_HOME")
    
        @get:Optional
        @get:Input
        val androidSdkRoot: Provider<String> = project.providers.environmentVariable("ANDROID_SDK_ROOT")
    
        @TaskAction
        fun warmup() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

    import gradlebuild.basics.util.ReproduciblePropertiesWriter
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.logging.Logger
    import org.gradle.api.provider.Property
    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.Optional
    import org.gradle.api.tasks.OutputDirectory
    import org.gradle.api.tasks.TaskAction
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 02:21:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/cloud.md

    # Deploy FastAPI on Cloud Providers { #deploy-fastapi-on-cloud-providers }
    
    You can use virtually **any cloud provider** to deploy your FastAPI application.
    
    In most of the cases, the main cloud providers have guides to deploy FastAPI with them.
    
    ## FastAPI Cloud { #fastapi-cloud }
    
    **<a href="https://fastapicloud.com" class="external-link" target="_blank">FastAPI Cloud</a>** is built by the same author and team behind **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 19 10:12:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.DuplicatesStrategy;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.file.RelativePath;
    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.SourceSetContainer;
    import org.gradle.api.tasks.Sync;
    import org.gradle.api.tasks.TaskContainer;
    import org.gradle.api.tasks.TaskInputs;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/fastapicloud.md

    * etc.
    
    FastAPI Cloud is the primary sponsor and funding provider for the *FastAPI and friends* open source projects. ✨
    
    ## Deploy to other cloud providers { #deploy-to-other-cloud-providers }
    
    FastAPI is open source and based on standards. You can deploy FastAPI apps to any cloud provider you choose.
    
    Follow your cloud provider's guides to deploy FastAPI apps with them. 🤓
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 17 19:33:53 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

     */
    fun ModuleTargetRuntimes.computeProductionJvmTargetVersion(): Provider<Int> {
        // Should be kept in sync with org.gradle.internal.jvm.SupportedJavaVersions
        val targetRuntimeJavaVersions = mapOf(
            usedInWorkers to 8,
            usedInClient to 8,
            usedInDaemon to 8
        )
    
        return reduceBooleanFlagValues(targetRuntimeJavaVersions, ::minOf).orElse(provider {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import org.junit.jupiter.params.provider.ValueSource
    import promotion.determineNightlyPromotionTriggerHour
    
    /*
     * Copyright 2023 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top