- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 565 for taskAction (0.15 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskAction.java
import java.lang.annotation.*; /** * Marks a method as the action to run when the task is executed. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Inherited public @interface TaskAction {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 15 16:06:48 UTC 2017 - 861 bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 9.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/AbstractOptionIntegrationSpec.groovy
@TaskAction public void renderOptionValue() { println("Value of myProp: " + myProp.getOrNull()) } } """ } String taskWithMultipleOptions() { """ import org.gradle.api.DefaultTask; import org.gradle.api.tasks.TaskAction;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 09:40:56 UTC 2023 - 8.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 12 11:41:48 UTC 2022 - 15.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy
import ${Inject.name}; import ${TaskAction.name}; ${snippets.imports} public abstract class SneakyTask extends DefaultTask { @Inject protected abstract ExecOperations getExecOperations(); public SneakyTask() { ${snippets.body} } @TaskAction public void doNothing() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyGroovyInterOpIntegrationTest.groovy
import org.gradle.api.tasks.TaskAction class ManagedFilePropertyGroovyInterOpIntegrationTest extends AbstractFilePropertyGroovyInterOpIntegrationTest { @Override void taskDefinition() { pluginDir.file("src/main/groovy/ProducerTask.groovy") << """ import ${DefaultTask.name} import ${RegularFileProperty.name} import ${TaskAction.name} import ${OutputFile.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyKotlinInterOpIntegrationTest.groovy
import org.gradle.api.tasks.TaskAction class ManagedFilePropertyKotlinInterOpIntegrationTest extends AbstractFilePropertyKotlinInterOpIntegrationTest { @Override void taskDefinition() { pluginDir.file("src/main/kotlin/ProducerTask.kt") << """ import ${DefaultTask.name} import ${RegularFileProperty.name} import ${TaskAction.name} import ${OutputFile.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyGroovyInterOpIntegrationTest.groovy
import org.gradle.api.tasks.TaskAction class FilePropertyGroovyInterOpIntegrationTest extends AbstractFilePropertyGroovyInterOpIntegrationTest { @Override void taskDefinition() { pluginDir.file("src/main/groovy/ProducerTask.groovy") << """ import ${DefaultTask.name} import ${RegularFileProperty.name} import ${TaskAction.name} import ${OutputFile.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy
""" file("buildSrc/src/main/java/CustomTask.java") << """ import org.gradle.api.GradleException; import org.gradle.api.tasks.TaskAction; public class CustomTask extends AbstractCustomTask { @TaskAction public void checkFiles() { System.out.println("checking files"); if (getSourceFiles().isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyJavaInterOpIntegrationTest.groovy
* limitations under the License. */ package org.gradle.api.file import org.gradle.api.DefaultTask import org.gradle.api.tasks.Nested import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.TaskAction import java.nio.file.Files class FilePropertyJavaInterOpIntegrationTest extends AbstractFilePropertyJavaInterOpIntegrationTest { @Override void taskDefinition() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.6K bytes - Viewed (0)