- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for DirectoryProperty (0.18 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java
* limitations under the License. */ package org.gradle.internal.execution.model.annotations; import org.gradle.api.file.Directory; import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.FileCollection; import org.gradle.api.file.RegularFile; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.problems.Severity;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java
* Property[T] -> original type becomes T (also Property[Integer] -> Integer and not int) * RegularFileProperty -> original type becomes File * DirectoryProperty -> original type becomes File * MapProperty[K, V] -> original type becomes Map[K, V] * ListProperty[T] -> original type becomes List[T] * ConfigurableFileCollection -> original type becomes FileCollection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleLazyType.java
public enum GradleLazyType { CONFIGURABLE_FILE_COLLECTION("org.gradle.api.file.ConfigurableFileCollection"), FILE_COLLECTION("org.gradle.api.file.FileCollection"), DIRECTORY_PROPERTY("org.gradle.api.file.DirectoryProperty"), REGULAR_FILE_PROPERTY("org.gradle.api.file.RegularFileProperty"), LIST_PROPERTY("org.gradle.api.provider.ListProperty"), SET_PROPERTY("org.gradle.api.provider.SetProperty"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle
MyObjectFactoryTask(ObjectFactory objectFactory) { this.objectFactory = objectFactory } @TaskAction void doTaskAction() { var outputDirectory = objectFactory.directoryProperty() outputDirectory.convention(project.layout.projectDirectory) println(outputDirectory.get()) } } tasks.register("myInjectedObjectFactoryTask",MyObjectFactoryTask) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts
abstract class MyObjectFactoryTask @Inject constructor(private var objectFactory: ObjectFactory) : DefaultTask() { @TaskAction fun doTaskAction() { val outputDirectory = objectFactory.directoryProperty() outputDirectory.convention(project.layout.projectDirectory) println(outputDirectory.get()) } } tasks.register("myInjectedObjectFactoryTask", MyObjectFactoryTask::class) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy
def "convention mapping can be used with FileSystemLocation properties and a #valueType value"() { buildFile << """ abstract class MyTask extends DefaultTask { @Internal abstract DirectoryProperty getFoo() @Internal abstract RegularFileProperty getBar() @TaskAction void useIt() { assert foo.asFile.get().name == "foo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 12:27:37 UTC 2024 - 7.3K bytes - Viewed (0)