- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for RuleSource (0.21 sec)
-
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentIntegrationTest.groovy
String getPublicData() void setPublicData(String publicData) } class RegisterComponentRules extends RuleSource { @ComponentType void register(TypeBuilder<SampleComponentSpec> builder) { } } apply plugin: RegisterComponentRules model {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 25.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentSourceSetIntegrationTest.groovy
} class TestRules extends RuleSource { @Defaults void useInternalView(@Path("components.sampleLib.sources.haxe") HaxeSourceSetInternal lss) { lss.setInternalData("internal") } } apply plugin: TestRules class ValidateTaskRules extends RuleSource { @Mutate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy
then: succeeds "value" and: output.contains "value: [foo]" } def "plugin RuleSource can be abstract"() { buildFile << ''' @Managed interface Thing { String getName() void setName(String name) } abstract class MyPlugin extends RuleSource { @Model void p1(Thing t) { println "creating " + t + " from " + toString() assert this == this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
ModelThing(String name) { this.name = name } } static class EmptyClass extends RuleSource {} def "can inspect class with no rules"() { expect: extract(EmptyClass).empty } static class ClassWithNonRuleMethods extends RuleSource { static List thing() { [] } static <T> List<T> genericThing() { []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy
def "provides basic meta-data for map"() { when: buildScript ''' @Managed interface Thing { } class Rules extends RuleSource { @Model void things(ModelMap<Thing> things) { } } apply type: Rules model { tasks {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy
def "provides basic meta-data for set"() { when: buildScript ''' @Managed interface Person { } class Rules extends RuleSource { @Model void people(ModelSet<Person> people) { } } apply type: Rules model { tasks {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 12:57:53 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentPluginIntegrationTest.groovy
class MyPlugin extends RuleSource { @ComponentType void register(TypeBuilder<UnmanagedComponent> builder) { builder.defaultImplementation(DefaultUnmanagedComponent) } } class MyOtherPlugin extends RuleSource { @ComponentType
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy
@Managed interface LibrarySourceSet extends LanguageSourceSet {} class MyBinaryDeclarationModel implements Plugin<Project> { void apply(final Project project) {} static class ComponentModel extends RuleSource { @ComponentType void registerLibrary(TypeBuilder<SampleLibrary> builder) {} @Mutate void createSampleComponentComponents(ModelMap<SampleLibrary> componentSpecs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.8K bytes - Viewed (0)