Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for RegistersSoftwareTypes (0.31 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/internal/plugins/software/RegistersSoftwareTypes.java

    /**
     * Marks a Settings plugin as registering one or more software types.
     *
     * @since 8.9
     */
    @Incubating
    @Target({ElementType.TYPE})
    @Retention(RetentionPolicy.RUNTIME)
    public @interface RegistersSoftwareTypes {
        /**
         * The {@link Project} plugins that provide the software types.
         *
         * @since 8.9
         */
        Class<? extends Plugin<Project>>[] value();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTarget.java

        public String toString() {
            return delegate.toString();
        }
    
        private void registerSoftwareTypes(TypeMetadata typeMetadata) {
            Optional<RegistersSoftwareTypes> registersSoftwareType = typeMetadata.getTypeAnnotationMetadata().getAnnotation(RegistersSoftwareTypes.class);
            registersSoftwareType.ifPresent(registration -> {
                Class<? extends Plugin<Settings>> registeringPlugin = Cast.uncheckedCast(typeMetadata.getType());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:28 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTargetTest.groovy

            1 * pluginTypeMetadata.getTypeAnnotationMetadata() >> typeAnnotationMetadata
            1 * typeAnnotationMetadata.getAnnotation(RegistersSoftwareTypes.class) >> Optional.of(registersSoftwareTypes)
            1 * registersSoftwareTypes.value() >> [SoftwareTypePlugin.class]
            1 * metadataStore.getTypeMetadata(SoftwareTypePlugin.class) >> softwareTypePluginMetadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/integTest/groovy/org/gradle/internal/declarativedsl/ErrorHandlingOnReflectiveCallsSpec.groovy

            import org.gradle.api.internal.SettingsInternal;
            import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
            import ${RegistersSoftwareTypes.class.name};
    
            @RegistersSoftwareTypes({ RestrictedPlugin.class })
            abstract public class SoftwareTypeRegistrationPlugin implements Plugin<Settings> {
                @Override
                public void apply(Settings target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

            import org.gradle.api.internal.SettingsInternal;
            import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
            import ${RegistersSoftwareTypes.class.name};
    
            @RegistersSoftwareTypes({ RestrictedPlugin.class })
            abstract public class SoftwareTypeRegistrationPlugin implements Plugin<Settings> {
                @Override
                public void apply(Settings target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy

                import org.gradle.api.initialization.Settings;
                import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
                import ${ RegistersSoftwareTypes.class.name};
    
                @RegistersSoftwareTypes({ LibraryPlugin.class, ApplicationPlugin.class, UtilityPlugin.class })
                abstract public class SoftwareTypeRegistrationPlugin implements Plugin<Settings> {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                import org.gradle.api.internal.SettingsInternal;
                import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
                import ${RegistersSoftwareTypes.class.name};
    
                @RegistersSoftwareTypes({ ${softwareTypeImplPluginClassName.collect { it + ".class" }.join(", ")} })
                abstract public class SoftwareTypeRegistrationPlugin implements Plugin<Settings> {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

    import org.gradle.api.artifacts.transform.InputArtifactDependencies;
    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.internal.DefaultNamedDomainObjectSet;
    import org.gradle.api.internal.plugins.software.RegistersSoftwareTypes;
    import org.gradle.api.internal.plugins.software.SoftwareType;
    import org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore;
    import org.gradle.api.internal.project.taskfactory.TaskClassInfoStore;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

                import org.gradle.api.internal.SettingsInternal;
                import org.gradle.api.internal.plugins.software.RegistersSoftwareTypes;
                import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
    
                @RegistersSoftwareTypes({
                        StandaloneJavaApplicationPlugin.class,
                })
                public class JvmEcosystemPlugin implements Plugin<Settings> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            import org.gradle.api.internal.SettingsInternal;
            import org.gradle.plugin.software.internal.SoftwareTypeRegistry;
            import ${RegistersSoftwareTypes.class.name};
    
            @RegistersSoftwareTypes({ RestrictedPlugin.class })
            abstract public class SoftwareTypeRegistrationPlugin implements Plugin<Settings> {
                @Override
                public void apply(Settings target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top