- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for CustomPlugin (0.17 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/CustomPlugin.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 837 bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/CustomPlugin.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 830 bytes - Viewed (0) -
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) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CustomPluginIntegrationTest.groovy
void "can reference plugin in buildSrc by id"() { given: file('buildSrc/src/main/java/CustomPlugin.java') << ''' import org.gradle.api.*; import org.gradle.api.internal.plugins.DslObject; public class CustomPlugin implements Plugin<Project> { public void apply(Project p) { new DslObject(p).getExtensions().getExtraProperties().set("prop", "value"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy
} } apply plugin: CustomPlugin """ expect: fails() failure.assertHasCause("Failed to apply plugin class 'CustomPlugin'") failure.assertHasCause("Could not create plugin of type 'CustomPlugin'.") failure.assertHasCause("The constructor for type CustomPlugin should be annotated with @Inject.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 7.4K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:39:53 UTC 2024 - 6.2K bytes - Viewed (0) -
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) -
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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.1K bytes - Viewed (0)