- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 69 for DirectoryProperty (0.19 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy
createDirs("a", "b") settingsFile << "include 'a', 'b'" buildFile << """ project(':a') { task classes { ext.outputDir = objects.directoryProperty() outputs.dir(outputDir) outputDir.set(layout.buildDirectory.dir("classes")) } artifacts { compile classes.outputDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionLifecycleIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 10:55:07 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy
buildFile << """ abstract class CustomTask extends DefaultTask { @OutputDirectory abstract DirectoryProperty getOutputDirectory() @TaskAction void doAction() { getOutputDirectory().file("output.txt").get().asFile.text = "output" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 15.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy
abstract class TaskWithInputs extends DefaultTask { ${ api == Api.ANNOTATION_API ? "@InputDirectory @PathSensitive(PathSensitivity.RELATIVE)" : "@Internal" } abstract DirectoryProperty getSources() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doSomething() {
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
|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` |`SetProperty<T>` |Set of elements of type `T` |`MapProperty<K, V>`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/documentation/docs/build.gradle
@Internal final ConfigurableFileCollection gradleHomeDir @PathSensitive(PathSensitivity.RELATIVE) @InputDirectory final DirectoryProperty samplesdir @Nested final GradleDistribution gradleDistribution private final FileCollection testTaskClasspath private final Directory repoRoot @Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 15:37:11 UTC 2024 - 42K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java
* <li>Using the methods on {@link org.gradle.api.file.Directory} and {@link org.gradle.api.file.DirectoryProperty} to produce file providers.</li> * <li>By calling {@link ProviderFactory#provider(Callable)} or {@link org.gradle.api.Project#provider(Callable)} to create a new provider from a {@link Callable}.</li> * </ul> * * <p>
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/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy
buildFile """ import static org.gradle.util.internal.TextUtil.normaliseFileSeparators abstract class Producer extends DefaultTask { @OutputDirectory abstract DirectoryProperty getOutputClasses() Producer() { outputs.upToDateWhen { false } } // TODO doesn't matter, remove this @TaskAction void doStuff() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 12:54:09 UTC 2024 - 21K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
} abstract class MakeGreen implements TransformAction<Parameters> { interface Parameters extends TransformParameters { @InputDirectory DirectoryProperty getSomeDir() } @InputArtifact abstract Provider<FileSystemLocation> getInputArtifact() void transform(TransformOutputs outputs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 20.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc
It provides methods for creating instances of different types, such as properties (`Property<T>`), collections (`ListProperty<T>`, `SetProperty<T>`, `MapProperty<K, V>`), file-related objects (`RegularFileProperty`, `DirectoryProperty`, `ConfigurableFileCollection`, `ConfigurableFileTree`), and more. You can obtain an instance of `ObjectFactory` using the `project.objects` property.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 15.8K bytes - Viewed (0)