- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 308 for inputFiles (0.44 sec)
-
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/buildSrc/src/main/java/org/example/ProcessTemplates.java
import org.gradle.api.tasks.*; import javax.inject.Inject; public abstract class ProcessTemplates extends DefaultTask { @Input public abstract Property<TemplateEngineType> getTemplateEngine(); @InputFiles public abstract ConfigurableFileCollection getSourceFiles(); @Nested public abstract TemplateData getTemplateData(); @OutputDirectory public abstract DirectoryProperty getOutputDir();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/kotlin/buildSrc/src/main/java/org/example/ProcessTemplates.java
import org.gradle.api.tasks.*; import javax.inject.Inject; public abstract class ProcessTemplates extends DefaultTask { @Input public abstract Property<TemplateEngineType> getTemplateEngine(); @InputFiles public abstract ConfigurableFileCollection getSourceFiles(); @Nested public abstract TemplateData getTemplateData(); @OutputDirectory public abstract DirectoryProperty getOutputDir();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/disallowedTypesFixed/groovy/build.gradle
plugins { id 'java' } // tag::task-type[] abstract class SomeTask extends DefaultTask { @InputFiles @Classpath abstract ConfigurableFileCollection getClasspath() // <1> @TaskAction void action() { def classpathFiles = classpath.files // ... } } // end::task-type[] tasks.register("someTaskType", SomeTask) { classpath.from(sourceSets.main.compileClasspath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 607 bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/CompileGroovyScriptPluginsTask.java
import org.gradle.api.provider.Provider; import org.gradle.api.tasks.CacheableTask; import org.gradle.api.tasks.Classpath; import org.gradle.api.tasks.IgnoreEmptyDirectories; import org.gradle.api.tasks.InputFiles; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.PathSensitive; import org.gradle.api.tasks.PathSensitivity; import org.gradle.api.tasks.SkipWhenEmpty;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/UnexportMainSymbol.java
import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.FileCollection; import org.gradle.api.tasks.CacheableTask; import org.gradle.api.tasks.IgnoreEmptyDirectories; import org.gradle.api.tasks.InputFiles; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.PathSensitive; import org.gradle.api.tasks.PathSensitivity; import org.gradle.api.tasks.SkipWhenEmpty;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/customTaskWithMissingFileProperty/groovy/build.gradle
// tag::all[] // tag::task[] abstract class GreetingFileTask extends DefaultTask { @InputFiles abstract RegularFileProperty getSource() @OutputFile abstract RegularFileProperty getDestination() @TaskAction def greet() { def file = getDestination().get().asFile if (source.get().asFile.exists()) { file.write("Hello ${source.get().asFile.text}!") } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 949 bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt
import org.gradle.api.file.RegularFileProperty import org.gradle.api.provider.Property import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputFile import org.gradle.api.tasks.InputFiles import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 30 09:32:11 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy
// Documentation failureDescriptionContains(documentationRegistry.getDocumentationRecommendationFor("information", "validation_problems", "unsupported_value_type")) where: annotation | _ "@Input" | _ "@InputFile" | _ "@InputFiles" | _ } def "can use #type as task input"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 26.5K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/idl/groovy/build.gradle
generatedBy tasks.idl } c.lib sources.idlOutput } } } } class DummyIdlCompiler extends DefaultTask { @InputFiles FileCollection idlFiles @OutputDirectory File headerDir @OutputDirectory File sourceDir @TaskAction void processIdlFiles() { idlFiles.each { File idlFile ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0)