Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for someTaskB (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjectsTest.groovy

            [child1, child2, child3].each {
                it.configurations.create "testRuntime"
                it.configurations.create "conf"
                it.tasks.create "buildDependents"
                it.tasks.create "someTask"
            }
    
            when: dep.visitDependencies(context)
    
            then:
            4 * context.getTask() >> child1.tasks["buildDependents"]
            1 * checker.isDependent(child1, "testRuntime", child2) >> false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            buildFile << """
                class SomeTask extends DefaultTask {
                    ${annotation}
                    final RegularFileProperty prop = project.objects.fileProperty()
    
                    @TaskAction
                    void go() {
                        println "value: " + prop.get()
                    }
                }
    
                task show(type: SomeTask) {
                    prop = file("in.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

            failure.assertHasCause("broken task")
        }
    
        def "fails to get a task by name when it does not match the filtered type"() {
            buildFile << '''
                tasks.register("task1", SomeTask) {
                    println "Configure ${path}"
                }
    
                tasks.create("other") {
                    dependsOn tasks.withType(SomeOtherTask).getByName("task1")
                }
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/file/ProjectLayoutIntegrationTest.groovy

            outputContains("build dir 4: " + testDirectory.file("target"))
        }
    
        def "layout is available for injection"() {
            buildFile """
                class SomeTask extends DefaultTask {
                    @Inject
                    ProjectLayout getLayout() { null }
    
                    @TaskAction
                    void go() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top