Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for HelloPlugin (0.23 sec)

  1. platforms/documentation/docs/src/snippets/plugins/publishing/kotlin/build.gradle.kts

        `ivy-publish`
    }
    
    group = "com.example"
    version = "1.0.0"
    
    gradlePlugin {
        plugins {
            create("hello") {
                id = "com.example.hello"
                implementationClass = "com.example.hello.HelloPlugin"
            }
            create("goodbye") {
                id = "com.example.goodbye"
                implementationClass = "com.example.goodbye.GoodbyePlugin"
            }
        }
    }
    
    publishing {
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 729 bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/GradlePluginDevelopmentExtension.java

     *         pluginSourceSet project.sourceSets.customMain
     *         testSourceSets project.sourceSets.functionalTest
     *         plugins {
     *             helloPlugin {
     *                 id  = 'org.example.hello'
     *                 implementationClass = 'org.example.HelloPlugin'
     *             }
     *         }
     *     }
     * </pre>
     *
     * @see org.gradle.plugin.devel.plugins.JavaGradlePluginPlugin
     * @since 2.13
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/plugin_basics.adoc

    To create your own plugin, you'll typically follow these steps:
    
    1. *Define the plugin class:* create a new class that implements the `Plugin<Project>` interface.
    +
    [source,kotlin]
    ----
    // Define a 'HelloPlugin' plugin
    class HelloPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            // Define the 'hello' task
            val helloTask = project.tasks.register("hello") {
                doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top