Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for custom_gradle_types (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc

    You can also create a container instance using a <<custom_gradle_types.adoc#read_only_managed_properties,read-only managed property>>.
    
    ====
    include::sample[dir="snippets/providers/collections/kotlin",files="build.gradle.kts[tags=ndoc]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top