Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ruleBasedTasks (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            output.contains "name: tasks"
        }
    
        def "can view tasks as various view types"() {
            given:
            buildFile << """
                ${ruleBasedTasks()}
    
                class MyPlugin extends RuleSource {
                    @Mutate
                    void tasks(ModelMap<EchoTask> tasks) {
                        tasks.create("test")
                    }
                    @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class RuleTaskCreationIntegrationTest extends AbstractIntegrationSpec implements WithRuleBasedTasks {
        def setup() {
            buildFile << ruleBasedTasks()
        }
    
        def "can use rule method to create tasks from model"() {
            given:
            buildFile << """
                class MyModel {
                    List<String> tasks = []
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
Back to top