Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for DoSomething (0.46 sec)

  1. platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/main/groovy/org/gradle/sample/MyCacheableTask.groovy

    @CacheableTask
    class MyCacheableTask extends DefaultTask {
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        File inputFile
        @OutputFile
        File outputFile
    
        @TaskAction
        void doSomething() {
            outputFile.text = inputFile.text
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 567 bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            InputStream doSomething(Object param)
            InputStream doSomething(Object param, Object other)
        }
    
        @Managed
        interface ManagedTypeExtendingUnmanagedTypeWithOverloadedMethod extends UnmanagedSuperTypeWithOverloadedMethod {
            @Override ByteArrayInputStream doSomething(Object param)
            @Override ByteArrayInputStream doSomething(Object param, Object other)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

            file('other-build/settings.gradle') << """
                rootProject.name = 'other-build'
                include 'sub'
            """
            file('other-build/sub/build.gradle') << """
                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                    abstract DirectoryProperty getSources()
    
                    @OutputFile
                    abstract RegularFileProperty getOutputFile()
    
                    @TaskAction
                    void doSomething() {
                        outputFile.get().asFile.text = "executed"
                    }
                }
    
                tasks.register("taskWithInputs", TaskWithInputs) {
                    sources.set(file("inputDir"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy

            file('other-build/settings.gradle') << """
                rootProject.name = 'other-build'
                include 'sub'
            """
            file('other-build/sub/build.gradle') << """
                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginRelocationTest.groovy

                    class CustomTask extends DefaultTask {
                        @InputFile @PathSensitive(PathSensitivity.NONE) File inputFile
                        @OutputFile File outputFile
                        @TaskAction void doSomething() {
                            outputFile.text = inputFile.text
                        }
                    }
                """
    
                file("src/main/groovy/CustomPlugin.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MonkeyPatchRelocationIntegrationTest.groovy

                        this.processorListFile
                    }
    
                    @OutputFile
                    File outputFile = new File(temporaryDir, "output")
    
                    @TaskAction
                    void doSomething() {
                        outputFile.text = "done"
                    }
                }
    
                task broken(type: Broken) {
                    def originalValue = processorListFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 23 12:40:43 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            when:
            def obj = create(AbstractClassWithConcreteTypeParameter, services)
    
            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
            obj.doSomething()
    
            def returnType = obj.getClass().getDeclaredMethod("getThing").genericReturnType
            returnType == Number
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    File outputFile
    
                    @Optional
                    @OutputFile
                    File secondaryOutputFile
    
                    @TaskAction
                    void doSomething() {
                        outputFile.text = inputFile.text
                        if (secondaryOutputFile != null) {
                            secondaryOutputFile.text = "secondary"
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildScanUserInputFixture.groovy

    import org.gradle.integtests.fixtures.executer.GradleHandle
    
    import static org.gradle.util.internal.TextUtil.getPlatformLineSeparator
    
    final class BuildScanUserInputFixture {
    
        public static final String DUMMY_TASK_NAME = 'doSomething'
        public static final String QUESTION = "Accept license?"
        public static final String YES = 'yes'
        public static final String NO = 'no'
        public static final byte EOF = 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top