- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for countingService (0.15 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
when: fails 'ambiguous' then: errorOutput.contains("Cannot resolve service by type for type 'CountingService' when there are two or more instances. Please also provide a service name. Instances found: counter1: CountingService, counter2: CountingService.") } def "can declare a service reference without a name when multiple services exist if a value is explicitly assigned"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy
"counter", CountingService.class, (spec) -> {} ); tasks.register('count', CountingTask) { ${ legacy ? """ countingService.convention(altServiceProvider) usesService(altServiceProvider) """ : "" } ${ finalizeOnRead ? "countingService.finalizeValueOnRead()" : "" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 11:47:23 UTC 2024 - 29.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersIntegrationTest.groovy
return value } } def countingService = gradle.sharedServices.registerIfAbsent("counting", CountingService) { } task runWork(type: ParameterTask) { isolationMode = '${isolationMode}' parameters { testParam.set(countingService) } } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 13.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
return value } } def countingService = gradle.sharedServices.registerIfAbsent("counting", CountingService) { } """ setupBuildWithColorTransform { params(""" service = countingService """) } buildFile << """ project(':a') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 11:12:24 UTC 2023 - 37.7K bytes - Viewed (0)