- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 228 for RegularFileProperty (0.3 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactCollectionResultProviderIntegrationTest.groovy
@Internal abstract SetProperty<ResolvedArtifactResult> getResolvedArtifacts() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void action() { println(artifactFiles.files) println(resolvedArtifacts.get()) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/ide/tooling-api/buildship.gradle
} @DisableCachingByDefault(because = "Not worth caching") abstract class CreateBuildshipEclipseProjectTask extends DefaultTask { @InputFile abstract RegularFileProperty getToolingApiShadedJar() @Input abstract Property<String> getProjectVersion() @Inject protected abstract FileSystemOperations getFs() @OutputDirectory File projectDirectory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.5K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidGradleRecipesKotlinSmokeTest.groovy
kotlin("android") } abstract class CustomFieldValueProvider : DefaultTask() { @get:OutputFile abstract val fieldValueOutputFile: RegularFileProperty @TaskAction fun writeFieldValue() { fieldValueOutputFile.get().asFile.writeText("42") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java
* class Producer extends DefaultTask { * {@literal @}OutputFile * abstract RegularFileProperty getOutputFile() * * //irrelevant details omitted * } * * class Consumer extends DefaultTask { * {@literal @}InputFile * abstract RegularFileProperty getInputFile() * * //irrelevant details omitted * } *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 09:14:21 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc
public abstract class GenerateReportTask extends DefaultTask { @InputDirectory File sourceDirectory } ---- ===== ==== Similarly, for the output, we use a `RegularFileProperty` and annotate it with `@OutputFile`. ==== [.multi-language-sample] ===== .buildSrc/src/main/kotlin/GenerateReportTask.kt [source,kotlin] ---- import org.gradle.api.DefaultTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:34:54 UTC 2024 - 37.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 12:27:37 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:02 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy
} } } abstract class Producer extends DefaultTask { @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction def produce() { outputFile.get().asFile << "42" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 9.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy
abstract DirectoryProperty getSources() @InputFiles abstract ConfigurableFileCollection getSourceFiles() @OutputFile abstract RegularFileProperty getZipFile() ZipSrc() { // We need a way to count access times, that is why I ended up with configuring it in the task so it has access to countResolved.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 08:14:44 UTC 2024 - 20.3K bytes - Viewed (0)