Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnscopedService (0.12 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy

            exception.message.contains("The service '${UnscopedService.name}' is registered in the 'BuildTree' scope but does not declare it. Add the '@ServiceScope()' annotation on '${UnscopedService.simpleName}' with the 'BuildTree' scope.")
    
            where:
            method     | registration
            'instance' | { ScopedServiceRegistry it -> it.add(new UnscopedService()) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top