- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for registeringPlugin (0.23 sec)
-
platforms/extensibility/plugin-use/src/test/groovy/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistryTest.groovy
def propertyMetadata = Mock(PropertyMetadata) def softwareType = Mock(SoftwareType) when: registry.register(SoftwareTypeImpl, RegisteringPlugin) registry.register(SoftwareTypeImpl, RegisteringPlugin) def implementations = registry.softwareTypeImplementations then: 1 * inspectionScheme.getMetadataStore() >> metadataStore
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:29 UTC 2024 - 6.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTarget.java
Class<? extends Plugin<Settings>> registeringPlugin = Cast.uncheckedCast(typeMetadata.getType()); for (Class<? extends Plugin<Project>> softwareTypeImplClass : registration.value()) { validateSoftwareTypePluginExposesExactlyOneSoftwareType(softwareTypeImplClass, typeMetadata.getType()); softwareTypeRegistry.register(softwareTypeImplClass, registeringPlugin); } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:28 UTC 2024 - 8.1K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy
import spock.lang.Issue class BuildEventsIntegrationTest extends AbstractIntegrationSpec { def "listener can subscribe to task completion events"() { loggingListener() registeringPlugin() buildFile << """ apply plugin: LoggingPlugin task notUpToDate { doFirst { println("not up-to-date") } } task upToDate {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 18.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTargetTest.groovy
when: pluginTarget.applyRules(null, Rule.class) then: 1 * delegate.applyRules(null, Rule.class) 0 * _ } abstract class RegisteringPlugin implements Plugin<Settings> { } abstract class SoftwareTypePlugin implements Plugin<Project> { } private static class Rule {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:29 UTC 2024 - 6.5K bytes - Viewed (0)