- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for RegularFileProperty (0.27 sec)
-
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) -
testing/internal-integ-testing/build.gradle.kts
output.dir(copyTestedVersionsInfo) } @CacheableTask abstract class PrepareVersionsInfo : DefaultTask() { @get:OutputFile abstract val destFile: RegularFileProperty @get:Input abstract val mostRecent: Property<String> @get:Input abstract val versions: Property<String> @get:Input abstract val mostRecentSnapshot: Property<String>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc
Gradle provides two specialized `Property` subtypes for dealing with values of these types:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy
} abstract class InputFilesTask extends DefaultTask { @InputFiles abstract ListProperty<FileSystemLocation> getInFiles() @OutputFile abstract RegularFileProperty getOutFile() @TaskAction def go() { outFile.get().asFile.text = inFiles.get()*.asFile.name.sort().join(',') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 12:54:09 UTC 2024 - 21K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy
@InputFiles abstract ConfigurableFileCollection getInputFiles() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void run() { outputFile.get().asFile.text = inputFiles.files.collect { it.text }.join() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy
"DirectoryProperty" | "objects.directoryProperty()" | "null" | "null" "RegularFileProperty" | "objects.fileProperty()" | "file('abc')" | new File('abc') "RegularFileProperty" | "objects.fileProperty()" | "null" | "null"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 26.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy
} } abstract class ProduceString : DefaultTask() { @get:OutputFile abstract val outputFile: RegularFileProperty @TaskAction fun printString() { outputFile.get().asFile.writeText("absent") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28K 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" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 18.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc
The property type must be one of the following: [cols="1,1"] |=== |Property Type |Note |`Property<T>` |Where `T` is typically `Double`, `Integer`, `Long`, `String`, or `Bool` |`RegularFileProperty` |Configurable regular file location, whose value is mutable |`DirectoryProperty` |Configurable directory location, whose value is mutable |`ListProperty<T>` |List of elements of type `T`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 10.2K bytes - Viewed (0)