Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 652 for defaultTask (0.22 sec)

  1. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

    import org.gradle.api.Plugin
    import org.gradle.api.Project
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.provider.ProviderFactory
    import org.gradle.api.DefaultTask
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.TaskAction
    import org.gradle.workers.WorkAction
    import org.gradle.workers.WorkParameters
    import org.gradle.workers.WorkerExecutor
    import org.gradle.tooling.provider.model.ToolingModelBuilder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                    fqid == 'validation:configuration-cache-cannot-serialize-object-of-type-org-gradle-api-defaulttask-a-subtype-of-org-gradle-api-task-as-these-are-not-supported-with-the-configuration-cache'
                    contextualLabel == 'cannot serialize object of type \'org.gradle.api.DefaultTask\', a subtype of \'org.gradle.api.Task\', as these are not supported with the configuration cache.'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                    ext.custom = 'repository'
                }
                defaultTask.custom = 'another value'
                javaTask.custom = 'another value'
                groovyTask.custom = 'another value'
                assert !project.hasProperty('custom')
                assert defaultTask.hasProperty('custom')
                assert defaultTask.custom == 'another value'
                assert javaTask.custom == 'another value'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyJavaInterOpIntegrationTest.groovy

            pluginDir.file("src/main/java/ProducerTask.java") << """
                import ${DefaultTask.name};
                import ${RegularFileProperty.name};
                import ${TaskAction.name};
                import ${OutputFile.name};
                import ${Files.name};
                import ${IOException.name};
    
                public abstract class ProducerTask extends DefaultTask {
                    @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        }
    
        class ClasspathPropertyTask extends DefaultTask {
            @Classpath
            FileCollection classpathOnly
            @Classpath
            @InputFiles
            FileCollection classpathInputFiles
            @InputFiles
            @Classpath
            FileCollection inputFilesClasspath
        }
    
        class CompileClasspathPropertyTask extends DefaultTask {
            @CompileClasspath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

                withProblem("Task `:broken` of type `org.gradle.api.DefaultTask`: cannot deserialize object of type 'org.gradle.api.Project' 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
    - 6.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            buildFile << """
                class TaskWithNestedProperty extends DefaultTask  {
                    @Nested
                    Object bean
                }
    
                class NestedBeanWithInput {
                    @InputFiles
                    FileCollection input
                }
    
                class GeneratorTask extends DefaultTask {
                    @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

        @Issue("https://issues.gradle.org/browse/GRADLE-3540")
        def "order of #annotation marks task not up-to-date"() {
            buildFile << """
                class MyTask extends DefaultTask {
                    @Output${files ? "Files" : "Directories"} FileCollection out
    
                    @TaskAction def exec() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

        def "task #annotation file property is implicitly finalized when task starts execution"() {
            buildFile << """
                abstract class SomeTask extends DefaultTask {
                    ${annotation}
                    ${propertyImpl}
    
                    @TaskAction
                    void go() {
                        println "value: " + prop.get()
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

            myProperty.set("Hello, Gradle!")
            println myProperty.get()
        }
    }
    // end::object-factory[]
    
    // tag::object-factory-inject[]
    abstract class MyObjectFactoryTask extends DefaultTask {
        private ObjectFactory objectFactory
    
        @Inject //@javax.inject.Inject
        MyObjectFactoryTask(ObjectFactory objectFactory) {
            this.objectFactory = objectFactory
        }
    
        @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top