Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for someTaskB (0.21 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

            buildFile << """
                class SomeBean {
                    private SomeTask owner
                }
    
                class SomeTask extends DefaultTask {
                    private final SomeTask thisTask
                    private final bean = new SomeBean()
    
                    SomeTask() {
                        thisTask = this
                        bean.owner = this
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                    private ${baseType.name} badReference
                }
    
                class SomeTask extends DefaultTask {
                    private final ${baseType.name} badReference
                    private final bean = new SomeBean()
                    private final beanWithSameType = new SomeBean()
    
                    SomeTask() {
                        badReference = ${reference}
                        bean.badReference = ${reference}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

                    }
                }
    
                class SomeBean {
                    OtherBean value
                }
    
                class SomeTask extends DefaultTask {
                    private final SomeBean bean = new SomeBean()
                    private final OtherBean value
    
                    SomeTask() {
                        value = new OtherBean(prop: 'a')
                        bean.value = new OtherBean(prop: 'b')
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            buildFile << """
    
                class SomeTask extends DefaultTask {
    
                    @Input
                    TextResource textResource = project.resources.text.$expression
    
                    @TaskAction
                    def action() {
                        println('> ' + textResource.asString())
                    }
                }
    
                tasks.register("someTask", SomeTask)
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

                        project.getTasks().withType(SomeTask.class).configureEach(task -> {
                            task.getConventionMapping().map("inputProperty", ext::getInputProperty);
                        });
                        project.getTasks().register("ok", SomeTask.class, task -> {
                        });
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            given:
            buildFile << """
                println "running build script"
    
                class SomeTask extends DefaultTask {
                    SomeTask() {
                        println("create task")
                    }
                }
                task a(type: SomeTask) {
                    println("configure task")
                }
                task b {
                    dependsOn a
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                    "Task `:a` of type `SomeTask`: cannot deserialize object of type 'org.gradle.api.Project' as these are not supported with the configuration cache.",
                    "Task `:a` of type `SomeTask`: cannot deserialize object of type 'org.gradle.api.invocation.Gradle' as these are not supported with the configuration cache.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top