Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for serviceOf (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            }
            if (gradle.isRootBuild) {
                gradle.serviceOf<CacheConfigurationsInternal>().setCleanupHasBeenConfigured(true)
            }
        }
    
        private
        suspend fun DefaultWriteContext.writeBuildOutputCleanupRegistrations(gradle: GradleInternal) {
            val buildOutputCleanupRegistry = gradle.serviceOf<BuildOutputCleanupRegistry>()
            withGradleIsolate(gradle, userTypesCodec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

            beforeProject.clear()
            afterProject.clear()
        }
    
        private
        fun isolate(actions: IsolatedProjectActions, owner: IsolateOwner) =
            IsolatedActionSerializer(owner, owner.serviceOf(), owner.serviceOf())
                .serialize(actions)
    }
    
    
    private
    data class IsolatedProjectActions(
        val beforeProject: IsolatedProjectActionList,
        val afterProject: IsolatedProjectActionList
    )
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt

     */
    package org.gradle.kotlin.dsl
    
    import org.gradle.api.Plugin
    import org.gradle.api.initialization.Settings
    import org.gradle.api.plugins.PluginAware
    import org.gradle.kotlin.dsl.support.serviceOf
    
    import kotlin.reflect.KProperty
    
    
    /**
     * Applies the plugin of the given type [T]. Does nothing if the plugin has already been applied.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

        private
        fun executionEngineFor(scriptHost: KotlinScriptHost<*>): ExecutionEngine {
            // get the ExecutionEngine from the closest available service scope
            // for the global one has no support for the build cache
            return (scriptHost.target as? Project)?.serviceOf()
                ?: executionEngine
        }
    
        private
        class ScopeBackedCompiledScript(
            private val classLoaderScope: ClassLoaderScope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

            fun from(gradle: GradleInternal, referrerProject: ProjectInternal): CrossProjectConfigurationReportingGradle {
                val parentCrossProjectModelAccess = gradle.serviceOf<CrossProjectModelAccess>()
                val parentCrossProjectConfigurator = gradle.serviceOf<CrossProjectConfigurator>()
                return CrossProjectConfigurationReportingGradle(gradle, referrerProject, parentCrossProjectModelAccess, parentCrossProjectConfigurator)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

    import org.gradle.kotlin.dsl.provider.gradleKotlinDslOf
    import org.gradle.kotlin.dsl.support.ScriptHandlerScopeInternal
    import org.gradle.kotlin.dsl.support.invalidPluginsCall
    import org.gradle.kotlin.dsl.support.serviceOf
    
    import org.gradle.plugin.use.PluginDependenciesSpec
    
    import kotlin.reflect.KClass
    import kotlin.reflect.KProperty
    
    
    /**
     * Configures the build script classpath for this project.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

    import org.gradle.api.provider.Provider
    import org.gradle.api.provider.ValueSourceParameters
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.api.services.internal.BuildServiceDetails
    import org.gradle.api.services.internal.BuildServiceProvider
    import org.gradle.api.services.internal.BuildServiceRegistryInternal
    import org.gradle.internal.extensions.stdlib.uncheckedCast
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

        fun onError(error: Exception, message: StructuredMessageBuilder)
    }
    
    
    interface IsolateOwner {
        val delegate: Any
        fun <T> service(type: Class<T>): T
    }
    
    
    inline fun <reified T> IsolateOwner.serviceOf() = service(T::class.java)
    
    
    interface Isolate {
    
        val owner: IsolateOwner
    }
    
    
    interface WriteIsolate : Isolate {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    )
    
    func (a *index) ServicesCollection(
    	Services krt.Collection[*v1.Service],
    	ServiceEntries krt.Collection[*networkingclient.ServiceEntry],
    	Waypoints krt.Collection[Waypoint],
    	Namespaces krt.Collection[*v1.Namespace],
    ) krt.Collection[model.ServiceInfo] {
    	ServicesInfo := krt.NewCollection(Services, func(ctx krt.HandlerContext, s *v1.Service) *model.ServiceInfo {
    		portNames := map[int32]model.ServicePortName{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/injected-services-should-have-service-scope-applied.txt

    Class <org.gradle.api.reporting.components.internal.TypeAwareBinaryRenderer> is not annotated with @ServiceScope in (TypeAwareBinaryRenderer.java:0)
    Class <org.gradle.api.services.BuildServiceParameters> is not annotated with @ServiceScope in (BuildServiceParameters.java:0)
    Class <org.gradle.api.services.BuildServiceRegistry> is not annotated with @ServiceScope in (BuildServiceRegistry.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top