Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 231 for reregistering (0.38 sec)

  1. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.service-conventions.gradle.kts

    }
    
    dependencies {
        "integrationTestImplementation"(project)
    }
    
    // The organization requires additional documentation in the README for this project
    // tag::use-java-class[]
    val readmeCheck by tasks.registering(com.example.ReadmeVerificationTask::class) {
        readme = layout.projectDirectory.file("README.md")
        readmePatterns = listOf("^## Service API$")
    }
    // end::use-java-class[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/BuildScopeListenerRegistrationListener.java

    import org.gradle.internal.service.scopes.EventScope;
    import org.gradle.internal.service.scopes.Scope;
    
    @EventScope(Scope.Build.class)
    public interface BuildScopeListenerRegistrationListener {
    
        /**
         * Called when registering a build scope listener.
         */
        void onBuildScopeListenerRegistration(Object listener, String invocationDescription, Object invocationSource);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    // tag::convention-callsites[]
    
    // tag::convention-callsites-from-plugin[]
    // setting convention when registering a task from plugin
    class GreetingPlugin implements Plugin<Project> {
        void apply(Project project) {
            project.getTasks().register("hello", GreetingTask) {
                greeter.convention("Greeter")
            }
        }
    }
    // end::convention-callsites-from-plugin[]
    
    apply plugin: GreetingPlugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. build-logic/build.gradle.kts

    }
    
    description = "Provides plugins that are used by Gradle subprojects"
    
    tasks.register("check") {
        dependsOn(subprojects.map { "${it.name}:check" })
    }
    
    val clean by tasks.registering {
        val buildLogicPropertiesFile = layout.projectDirectory.file("gradle.properties")
        val rootPropertiesFile = layout.projectDirectory.file("../gradle.properties")
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/build.gradle.kts

    // tag::convention-callsites[]
    
    // tag::convention-callsites-from-plugin[]
    // setting convention when registering a task from plugin
    class GreetingPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            project.getTasks().register<GreetingTask>("hello") {
                greeter.convention("Greeter")
            }
        }
    }
    // end::convention-callsites-from-plugin[]
    
    // tag::convention-callsites-from-buildscript[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/build.gradle.kts

        integTestDistributionRuntimeOnly(project(":distributions-full"))
        crossVersionTestDistributionRuntimeOnly(project(":distributions-full"))
    }
    
    val executableJar by tasks.registering(Jar::class) {
        archiveFileName = "gradle-wrapper-executable.jar"
        manifest {
            attributes.remove(Attributes.Name.IMPLEMENTATION_VERSION.toString())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/test-suite-configure-source-dir/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    version = "1.0.2"
    group = "org.gradle.sample"
    
    repositories {
        mavenCentral()
    }
    
    // tag::configure-source-dir[]
    testing {
        suites {
            val integrationTest by registering(JvmTestSuite::class) { // <1>
                sources { // <2>
                    java { // <3>
                        setSrcDirs(listOf("src/it/java")) // <4>
                    }
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/main/kotlin/myproject.library-conventions.gradle.kts

                url = uri("build/my-repo")
            }
        }
    }
    
    // The project requires libraries to have a README containing sections configured below
    // tag::use-java-class[]
    val readmeCheck by tasks.registering(com.example.ReadmeVerificationTask::class) {
        readme = layout.projectDirectory.file("README.md")
        readmePatterns = listOf("^## API$", "^## Changelog$")
    }
    // end::use-java-class[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1000 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginAccessorsIntegrationTest.kt

                    `my-plugin`
                }
                """
            )
    
            build("clean")
    
            build("clean", "--rerun-tasks")
        }
    
        @Test
        fun `accessors are available after registering plugin`() {
            withSettings(
                """
                $defaultSettingsScript
    
                include("consumer", "producer")
                """
            )
    
            withBuildScript(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        }
    }
    
    val myReportTask by tasks.registering(MyReportTask::class) {
        outputFile = layout.buildDirectory.file("reports/my-report.pdf")
    }
    
    abstract class MyArchiveTask : DefaultTask() {
        @get:InputDirectory
        abstract val dirToArchive: DirectoryProperty
    }
    
    val archiveReportsTask by tasks.registering(MyArchiveTask::class) {
        dirToArchive = layout.buildDirectory.dir("toArchive")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top