- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for doStuff2 (0.16 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/InputFileTask.groovy
import org.gradle.api.DefaultTask import org.gradle.api.tasks.InputFile import org.gradle.api.tasks.TaskAction class InputFileTask extends DefaultTask { @InputFile File srcFile @TaskAction void doStuff() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 11 14:15:51 UTC 2017 - 896 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/TestDecoratedGroovyBean.groovy
* limitations under the License. */ package org.gradle.internal.instantiation.generator class TestDecoratedGroovyBean { def String prop def doStuff(String value) { "{$value}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 784 bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/CustomTask.groovy
*/ package org.gradle.testfixtures import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class CustomTask extends DefaultTask { String property @TaskAction def doStuff() { property = 'some value' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 861 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy
try { buildscript.classLoader.loadClass('BuildSrcClass') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected } """ buildFile << 'task doStuff' when: run('doStuff') then: output.contains('quiet message') errorOutput.contains('error message') } private TestFile createBuildSrc() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy
abstract DirectoryProperty getLocalStateDirectory() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { def localStateDir = localStateDirectory.get().asFile localStateDir.mkdirs() new File(localStateDir, "localState.txt").text = "localState"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/BuildScriptTransformerSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/DefaultClassLoaderFactoryTest.groovy
then: c != DefaultClassLoaderFactoryTestHelper when: Thread.currentThread().contextClassLoader = cl c.getConstructor().newInstance().doStuff() then: notThrown() } def getClasspath() { return DefaultClassPath.of(ClasspathUtil.getClasspathForClass(DefaultClassLoaderFactoryTestHelper)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy
@OutputFile File outputFile @Input String content @TaskAction public void doStuff() { outputFile.text = content } } ''' def customTask = ':customTask'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 13 12:00:09 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ContinuousBuildFileWatchingIntegrationTest.groovy
succeeds("build") executedAndNotSkipped ":compileJava", ":build" vfsLogs.getRetainedFilesInCurrentBuild() >= numberOfFilesInVfs when: sourceFile.text = "class Thing { public void doStuff() {} }" then: buildTriggeredAndSucceeded() vfsLogs.getRetainedFilesSinceLastBuild() >= numberOfFilesInVfs - 1 vfsLogs.getRetainedFilesInCurrentBuild() >= numberOfFilesInVfs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SkipWhenEmptyIntegrationTest.groovy
abstract ConfigurableFileCollection getSources() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { println("Running...") outputFile.get().asFile.text = "executed" } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 23 15:09:05 UTC 2022 - 3.5K bytes - Viewed (0)