- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for custom_gradle_types (0.34 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/custom_gradle_types.adoc
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. [[custom_gradle_types]] = Developing Custom Gradle Types This page has been removed. [[managed_properties]] [[read_only_managed_properties]] [[read_only_managed_nested_properties]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 00:13:54 UTC 2024 - 998 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/dataflow_actions.adoc
override fun execute(parameters: Params) { } } ---- The `execute` method must be implemented because this is where the work happens. An action implementation is treated as a <<custom_gradle_types.adoc#custom_gradle_types,custom Gradle type>> and can use any of the features available to custom Gradle types. In particular, some Gradle services can be injected into the implementation. A dataflow action may accept parameters.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:10 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc
[source,groovy] ---- abstract class BaseCountingService implements BuildService<CountingParams>, AutoCloseable { } ---- A build service implementation is treated as a <<custom_gradle_types.adoc#custom_gradle_types,custom Gradle type>> and can use any of the features available to custom Gradle types. A build service can optionally take parameters, which Gradle injects into the service instance when creating it.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:10 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java
static final String CUSTOM_GRADLE_TASK_DOC_LINK = "Rewrite the class with a constructor injection. " + new DocumentationRegistry().getDocumentationRecommendationFor("information on developing custom gradle task types", "custom_gradle_types", "service_injection"); private final CrossBuildInMemoryCache<Class<?>, CachedConstructor> constructorCache; private final ClassGenerator classGenerator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 07:52:37 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/Dependencies.java
* {@link org.gradle.kotlin.dsl.DependenciesExtensions extension functions for Kotlin DSL}. * <p> * @see <a href="https://docs.gradle.org/current/userguide/custom_gradle_types.html#custom_dependencies_blocks">Creating custom dependencies blocks.</a> * * @since 7.6 */ @Incubating @SuppressWarnings("JavadocReference") public interface Dependencies { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 05:34:03 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/userguide_single.adoc
include::logging.adoc[leveloffset=+2] include::potential_traps.adoc[leveloffset=+2] include::build_environment.adoc[leveloffset=+2] include::init_scripts.adoc[leveloffset=+2] include::custom_gradle_types.adoc[leveloffset=+2] include::build_services.adoc[leveloffset=+2] include::dataflow_actions.adoc[leveloffset=+2] include::test_kit.adoc[leveloffset=+2] include::ant.adoc[leveloffset=+2] [[part:jvm_projects]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 22:56:31 UTC 2024 - 8.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/ValueSource.java
* considered as an input to the work graph cache. * </p> * <p> * It is possible to have some Gradle services to be <a href="https://docs.gradle.org/current/userguide/custom_gradle_types.html#service_injection">injected</a> * into the implementation, similar to tasks and plugins. * It can be done by adding a parameter to the constructor and annotating the * constructor with the {@code @Inject} annotation:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 13:02:13 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc
---- In the example above, a deployment task is created dynamically for every user-configured environment. You can find out more about implementing project extensions in <<custom_gradle_types.adoc#custom_gradle_types,Developing Custom Gradle Types>>. [[modeling_dsl_like_apis]] == Modeling DSL-like APIs DSLs exposed by plugins should be readable and easy to understand.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 29 02:31:44 UTC 2024 - 37.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc
==== ==== Next to the property declaration You may configure a convention on a lazy property next to the place where the property is declared. Note this option is not available for <<custom_gradle_types.adoc#managed_properties,managed properties>>, and has the same caveats as configuring a convention from the task constructor. ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.1K bytes - Viewed (0)