Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 108 for someTaskB (0.13 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

        def setup() {
            expectReindentedValidationMessage()
        }
    
        def "can attach a calculated directory to task property"() {
            buildFile """
                class SomeTask extends DefaultTask {
                    @OutputDirectory
                    final DirectoryProperty outputDir = project.objects.directoryProperty()
    
                    @TaskAction
                    void go() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/fail.out

    See the complete report at file:///home/user/gradle/samples/build/reports/configuration-cache/<hash>/configuration-cache-report.html
    > Invocation of 'Task.project' by task ':someTask' at execution time is unsupported.
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 825 bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

            buildFile << """
                abstract class SomeTask extends DefaultTask {
                    ${annotation}
                    ${propertyImpl}
    
                    @TaskAction
                    void go() {
                        println "value: " + prop.get()
                    }
                }
    
                task show(type: SomeTask) {
                    def layout = project.layout
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

            project.sourceSets.create('custom')
    
            and:
            final someTask = project.task("someTask")
            project.sourceSets.custom.output.dir('some-dir', builtBy: someTask)
    
            then:
            def customClasses = project.tasks['customClasses']
            TaskDependencyMatchers.dependsOn('someTask', 'processCustomResources', 'compileCustomJava').matches(customClasses)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  5. 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)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ClosureScopeIntegrationTest.groovy

        def "check scope when closure in ext"() {
            given:
            file('closure_in_ext.gradle') << """
    allprojects {
        ext.someClosure = {
            project.name
        }
    
        task someTask {
            doLast {
                println someClosure()
                assert someClosure() == project.name
            }
        }
    }
    """
            buildFile << """
    apply from:'closure_in_ext.gradle'
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaPluginIntegrationTest.groovy

        @Issue("https://issues.gradle.org/browse/GRADLE-3094")
        def "can apply scala plugin"() {
            file("build.gradle") << """
                apply plugin: "scala"
    
                task someTask
            """
    
            expect:
            succeeds("someTask")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/6558")
        def "can build in parallel with lazy tasks"() {
            createDirs("a", "b", "c", "d")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeContinuousBuildIntegrationTest.groovy

            def inputFile = file("included/inputs/input.txt")
            inputFile.text = "first"
            singleProjectBuild("included") {
                buildFile << """
                    task someTask {
                        def inputFile = file("inputs/input.txt")
                        def outputFile = file("build/output.txt")
                        inputs.file inputFile
                        outputs.file outputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

        SomeTask a = factory.create("a", SomeTask)
        SomeTask b = factory.create("b", SomeTask)
        SomeTask c = factory.create("c", SomeTask)
        SomeOtherTask d = factory.create("d", SomeOtherTask)
    
        static class SomeTask extends DefaultTask {}
    
        static class SomeOtherTask extends DefaultTask {}
    
        Class<SomeTask> type = SomeTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            project.container(String, {}) instanceof FactoryNamedDomainObjectContainer
        }
    
    }
    
    class TaskContainerDynamicObject {
        Task someTask
    
        def someTask(Closure closure) {
            closure.call()
        }
    }
    
    class TestConvention {
        final static String METHOD_RESULT = 'methodResult'
        String name
        String conv
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top