- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for custom_gradle_types (0.33 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) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_java_projects.adoc
<4> Add an instance of the newly created class as JVM argument provider to the integration test task.footnote:managedTypes[The `CommandLineArgumentProvider` in this example is implemented as a <<custom_gradle_types.adoc#custom_gradle_types,managed type>>.] === Ignoring system properties It may be necessary to ignore some system properties as inputs as they do not influence the outcome of the integration tests.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/tasks/Nested.java
* * <p>Gradle will attempt to instantiate a nested bean on abstract getter methods annotated with this annotation. * This creates a <a href="https://docs.gradle.org/current/userguide/custom_gradle_types.html#read_only_managed_nested_properties">read-only managed nested property</a>.</p> * * <p>The implementation of the nested bean is tracked as an input, too.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 27 22:03:08 UTC 2022 - 2.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/toolchain_plugins.adoc
[source,java] ---- include::{snippetsPath}/java/toolchain-management/groovy/buildSrc/src/main/java/org/myorg/JavaToolchainResolverPlugin.java[tags=java-toolchain-resolver-plugin] ---- <1> The plugin uses <<custom_gradle_types.adoc#property_injection,property injection>>, so it must be `abstract` and a settings plugin.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 17:38:38 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc
The parameters must be represented using <<custom_gradle_types.adoc#managed_properties,managed properties>> and the parameters type must be a <<custom_gradle_types.adoc#managed_types,managed type>>. You can use an interface or abstract class declaring the getters and Gradle will generate the implementation.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 01:37:51 UTC 2023 - 20.1K 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)