Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 244 for reregistering (0.17 sec)

  1. platforms/documentation/docs/src/snippets/tasks/shouldRunAfter/kotlin/build.gradle.kts

    val taskX by tasks.registering {
        doLast {
            println("taskX")
        }
    }
    val taskY by tasks.registering {
        doLast {
            println("taskY")
        }
    }
    taskY {
        shouldRunAfter(taskX)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 194 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/defineAsKotlinDelegatedProperty/kotlin/build.gradle.kts

    // Using Kotlin delegated properties
    
    val hello by tasks.registering {
        doLast {
            println("hello")
        }
    }
    
    val copy by tasks.registering(Copy::class) {
        from(file("srcDir"))
        into(buildDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 209 bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy

    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import spock.lang.Specification
    
    class ScopedServiceRegistryTest extends Specification {
    
        def "fails when registering a service by adding #method in a wrong scope"() {
            given:
            def registry = scopedRegistry(Scope.Build)
    
            when:
            registration(registry)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/java/incrementalAnnotationProcessing/groovy/processor/src/main/resources/META-INF/gradle/incremental.annotation.processors

    # tag::registering-incremental-annotation-processors[]
    org.gradle.EntityProcessor,isolating
    org.gradle.ServiceRegistryProcessor,dynamic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 191 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/finalizers/kotlin/build.gradle.kts

    val taskX by tasks.registering {
        doLast {
            println("taskX")
        }
    }
    val taskY by tasks.registering {
        doLast {
            println("taskY")
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 188 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-matching/kotlin/build.gradle.kts

            }
            val integrationTest by registering(JvmTestSuite::class)
            val functionalTest by registering(JvmTestSuite::class) {
                useJUnit() // <2>
                dependencies { // <3>
                    implementation("org.apache.commons:commons-lang3:3.11")
                }
            }
        }
    }
    // end::multi-configure[]
    
    val checkDependencies by tasks.registering {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/kotlin/build.gradle.kts

        distsDirectory = layout.buildDirectory.dir("custom-dist")
        libsDirectory = layout.buildDirectory.dir("custom-libs")
    }
    // end::base-plugin-config[]
    
    val myZip by tasks.registering(Zip::class) {
        from("somedir")
    }
    
    val myOtherZip by tasks.registering(Zip::class) {
        archiveAppendix = "wrapper"
        archiveClassifier = "src"
        from("somedir")
    }
    
    tasks.register("echoNames") {
        val projectNameString = project.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 828 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts

    package reporters
    import org.gradle.api.internal.GradleInternal
    import org.gradle.kotlin.dsl.registering
    
    val gradleInternal = gradle as GradleInternal
    val problems = gradleInternal.services.get(Problems::class.java)
    
    problems.forNamespace("buildscript").reporting {
        id("adhoc-script-deprecation", "Deprecated script plugin")
            .contextualLabel("Deprecated script plugin 'demo-script-plugin'")
            .severity(Severity.WARNING)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-extracted/kotlin/build.gradle.kts

            /* This is the equivalent of:
                val integrationTest by registering(JvmTestSuite::class)
                applyMockito(integrationTest.get())
             */
            val integrationTest by registering(JvmTestSuite::class, applyMockito) // <3>
    
            val functionalTest by registering(JvmTestSuite::class) {
                useJUnit()
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedContainersDslTest.kt

                    extendsFrom(cabin.get())
                }
    
                val valley: NamedDomainObjectProvider<Configuration> by configurations.registering
                val hill: NamedDomainObjectProvider<Configuration> by configurations.registering {
                    extendsFrom(valley.get())
                }
                """
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top