- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for MyTask (0.07 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc
This style of property definition is legacy in Gradle and is discouraged: [source,java] ---- public class MyTask extends DefaultTask { private String someProperty; public String getSomeProperty() { return someProperty; } public void setSomeProperty(String someProperty) {
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/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc
This is done via a `Property` class type. [.multi-language-sample] ===== [source, kotlin] ---- abstract class MyTask : DefaultTask() { // Avoid Java Bean properties @Input var myEagerProperty: String = "default value" // Use Gradle managed properties instead @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:34:54 UTC 2024 - 37.2K bytes - Viewed (0)