Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for CustomPlugin (0.27 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/CustomPlugin.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal.plugins
    
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    
    class CustomPlugin implements Plugin<Project> {
        void apply(Project target) {
            target.task('hello');
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 837 bytes
    - Viewed (0)
  2. platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/CustomPlugin.groovy

     * limitations under the License.
     */
    
    package org.gradle.testfixtures
    
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    
    
    class CustomPlugin implements Plugin<Project> {
        void apply(Project target) {
            target.task('hello');
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 830 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/customPlugins/customPlugin/tests/customPlugin.sample.conf

    # tag::cli[]
    # gradle --quiet hello
    # end::cli[]
    commands: [{
        executable: gradle
        args: hello
        flags: --quiet
        expected-output-file: customPlugin.out
    }, {
        executable: gradle
        args: hi
        flags: --quiet
        expected-output-file: customPluginScript.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 22:35:53 UTC 2024
    - 275 bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

            return modelName == '${CustomModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            return new CustomModel()
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
            registry.register(new CustomBuilder())
        }
    
        public void apply(Project project) {
        }
    }
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

            buildFile """
                interface Thing extends Named { }
    
                class CustomPlugin implements Plugin<Project> {
                    ObjectFactory objects
    
                    @javax.inject.Inject
                    CustomPlugin(ObjectFactory objects) {
                        this.objects = objects
                    }
    
                    void apply(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/v1/default_plugins_test.go

    					Enabled: []v1.Plugin{
    						{Name: "DefaultPlugin1"},
    						{Name: "DefaultPlugin2"},
    						{Name: "CustomPlugin"},
    					},
    				},
    			},
    		},
    		{
    			name: "InsertAfterDefaultPlugins2",
    			customPlugins: &v1.Plugins{
    				Filter: v1.PluginSet{
    					Enabled: []v1.Plugin{
    						{Name: "CustomPlugin"},
    						{Name: "DefaultPlugin2"},
    					},
    					Disabled: []v1.Plugin{
    						{Name: "DefaultPlugin2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/ResolutionExceptionSerializableCrossVersionSpec.groovy

                return new CustomArtifactModel(files: compileDependencies)
            } catch (e) {
                return new CustomArtifactModel(failure: e)
            }
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
            registry.register(new CustomBuilder())
        }
    
        public void apply(Project project) {
        }
    }
    
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemsServiceModelBuilderCrossVersionTest.groovy

                        }${pre86api ? ".report()" : ""}
                        return new CustomModel()
                    }
                }
    
                class CustomPlugin implements Plugin<Project> {
                    @Inject
                    CustomPlugin(ToolingModelBuilderRegistry registry, Problems problemsService) {
                        registry.register(new CustomBuilder(problemsService))
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

                import org.gradle.tooling.provider.model.ToolingModelBuilder
    
                class CustomPlugin implements Plugin<Project> {
                    ToolingModelBuilderRegistry registry
    
                    @Inject
                    CustomPlugin(ToolingModelBuilderRegistry registry) {
                        this.registry = registry
                    }
    
                    void apply(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/extensibility/unit-test-fixtures/src/test/resources/META-INF/gradle-plugins/org.gradle.custom-plugin.properties

    implementation-class=org.gradle.testfixtures.CustomPlugin...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 57 bytes
    - Viewed (0)
Back to top