- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for DoSomething (0.13 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
file('other-build/build.gradle') << """ tasks.register('doSomething') { doLast { println 'do something' } } """ when: executeTaskViaGradleProjectLaunchable("doSomething") then: assertHasBuildSuccessfulLogging() outputContains("do something") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy
import ${FileCollectionFactory.name} class CustomTask extends DefaultTask { @Optional @$annotation.simpleName input @TaskAction void doSomething() { def fileCollectionFactory = services.get(FileCollectionFactory) GetInputFilesVisitor visitor = new GetInputFilesVisitor("ownerName", fileCollectionFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 10.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy
File outputFile public TaskWithInputs() { sources = project.files() } @TaskAction void doSomething() { outputFile.withWriter { writer -> sources.each { writer.println it } } } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 21.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
@OutputFiles FileCollection getOutputFiles() { throw new RuntimeException('BOOM!') } @TaskAction void doSomething() { println "Executing broken task..." } } task brokenTask(type: BrokenTask) aPing.finalizedBy brokenTask """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
tester.testConstructor(constructor); } } private interface Foo<T> { void doSomething(T bar, Integer baz); } private static class StringFoo implements Foo<String> { @Override public void doSomething(String bar, Integer baz) { checkNotNull(bar); checkNotNull(baz); } } public void testBridgeMethodIgnored() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 47.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy
class CheckDeps extends DefaultTask { @InputFiles final ConfigurableFileCollection input = project.objects.fileCollection() @TaskAction void doSomething() { println input.files.name } } """ when: lib.pom.expectGet() lib.artifact.expectGet() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 33K bytes - Viewed (0)