- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for reregistering (0.2 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt
} /** * Property delegate for registering new elements in the container. * * `tasks { val rebuild by registering }` * * @param T the domain object type * @param C the concrete container type */ inline val <T : Any, C : NamedDomainObjectContainer<T>> C.registering: RegisteringDomainObjectDelegateProvider<out C> get() = RegisteringDomainObjectDelegateProvider.of(this)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 22:09:44 UTC 2024 - 15.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt
val pipistrelle: TaskProvider<Task> by tasks.existing { description += "B" } val yate: TaskProvider<Task> by tasks.registering val vansire: TaskProvider<Task> by tasks.registering { description += "!" } } fun typed() { val foo: Task by tasks.getting(Task::class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 15K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild.distributions.gradle.kts
val generateRelocatedPackageList by tasks.registering(PackageListGenerator::class) { classpath.from(runtimeClasspath) outputFile = generatedTxtFileFor("api-relocated") } // Extract public API metadata from source code of Gradle module Jars packaged in the distribution (used by the two tasks below to handle default imports in build scripts) val dslMetaData by tasks.registering(ExtractDslMetaDataTask::class) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 11 16:25:08 UTC 2024 - 45.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc
---- ==== == Registering a build service and connecting it to a task To create a build service, you register the service instance using the link:{javadocPath}/org/gradle/api/services/BuildServiceRegistry.html#registerIfAbsent-java.lang.String-java.lang.Class-org.gradle.api.Action-[BuildServiceRegistry.registerIfAbsent()] method. Registering the service does not create the service instance.
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/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy
ex.message == "Factory registration for '${fullyQualifiedNameOf(ManagedThingSpec)}' is invalid because it doesn't extend an interface with a default implementation" } def "fails when registering non-interface internal view"() { when: instanceFactory.register(ModelType.of(ThingSpec), new SimpleModelRuleDescriptor("thing")) .withInternalView(ModelType.of(Object)) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionsSpec.groovy
then: 0 * validator.validateMutation(_) } def "registering an all rule toggles the hasRule flag"() { given: def action = Mock(Action) when: substitutions.all(action) then: substitutions.rulesMayAddProjectDependency() } def "registering a substitute rule with (#from, #to) causes hasRule #result"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc
[[sec::declare_feature_variants]] == Registering features Features can be declared by applying the `java-library` plugin. The following code illustrates how to declare a feature named `mongodbSupport`: .Registering a feature ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 18:45:05 UTC 2023 - 13.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc
Other tasks should be modified in their own configuration action: + ==== [.multi-language-sample] ===== [source,kotlin] ---- val check by tasks.registering val verificationTask by tasks.registering { // Configure verificationTask } check { dependsOn(verificationTask) } ---- ===== [.multi-language-sample] ===== [source,groovy] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 23:45:25 UTC 2024 - 21.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt
val compileClasspath: FileCollection = sourceSets["main"].compileClasspath tasks { val extractPrecompiledScriptPluginPlugins by registering(ExtractPrecompiledScriptPluginPlugins::class) { plugins = scriptPlugins outputDir.set(extractedPluginsBlocks) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 10:44:10 UTC 2024 - 21K bytes - Viewed (0)