- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for createChild (0.15 sec)
-
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleScopeServices.java
gradleScopedServices ); } @Provides PluginRegistry createPluginRegistry(PluginRegistry parentRegistry) { return parentRegistry.createChild(get(GradleInternal.class).getClassLoaderScope()); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy
@Provides TestListener createListener() { created.run() return listener } }) def broadcast = listenerManager.createChild(Scope.BuildTree).getBroadcaster(TestListener) then: 0 * _ when: broadcast.something("12") then: 1 * created.run() 1 * listener.something("12")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt
controller.withEmptyBuild { settings -> Try.ofFailable { val gradle = settings.gradle val baseScope = classLoaderScopeRegistry.coreAndPluginsScope.createChild("accessors-classpath", null).apply { // we export the build logic classpath to the base scope here so that all referenced plugins
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 24.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleUserHomeScopeServices.java
} @Provides ScopedListenerManager createListenerManager(ScopedListenerManager parent) { return parent.createChild(Scope.UserHome.class); } @Provides ScriptSourceHasher createScriptSourceHasher() { return new DefaultScriptSourceHasher(); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java
} } @Override public DefaultListenerManager createChild(Class<? extends Scope> scope) { return new DefaultListenerManager(scope, this); } /** * Manages the listeners and state for a given listener type */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 10:09:43 UTC 2024 - 18.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/BuildScopeServices.java
return new DefaultTextFileResourceLoader(resolver); } @Provides protected ScopedListenerManager createListenerManager(ScopedListenerManager listenerManager) { return listenerManager.createChild(Scope.Build.class); } @Provides protected ClassPathRegistry createClassPathRegistry() { ModuleRegistry moduleRegistry = get(ModuleRegistry.class); return new DefaultClassPathRegistry(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 35.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
container.addAll([task1, task2, task3]) then: thrown(UnsupportedOperationException) } def factory = new TaskInstantiator(taskIdentityFactory, new TaskFactory().createChild(project, TestUtil.instantiatorFactory().decorateScheme()), project) SomeTask a = factory.create("a", SomeTask) SomeTask b = factory.create("b", SomeTask) SomeTask c = factory.create("c", SomeTask)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0) -
subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java
Path idPath = buildPath != null ? buildPath : assignPath(rootBuild, buildName, buildDir); BuildIdentifier buildIdentifier = idFor(idPath); includedBuild = includedBuildFactory.createBuild(buildIdentifier, buildDefinition, isImplicit, rootBuild); includedBuildsByRootDir.put(buildDir, includedBuild); nestedBuildsByRootDir.put(buildDir, includedBuild);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:19 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt
) : BuildTreeConfigurationCache, Stoppable { interface Host : HostServiceProvider { val currentBuild: VintageGradleBuild fun createBuild(settingsFile: File?): ConfigurationCacheBuild fun visitBuilds(visitor: (VintageGradleBuild) -> Unit) fun <T> factory(serviceType: Class<T>): Factory<T> } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 24.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt
} private suspend fun DefaultReadContext.readRootBuild(): List<CachedBuildState> { val settingsFile = read() as File? val rootBuild = host.createBuild(settingsFile) val gradle = rootBuild.gradle readBuildTreeScopedState(gradle) return readBuildsInTree(rootBuild) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 34.8K bytes - Viewed (0)