Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,936 for contentions (0.17 sec)

  1. platforms/documentation/docs/src/samples/readme-templates/multi-common-body.adoc.template

    ====
    
    
    Both `${languageLC.raw}-library-conventions` and `${languageLC.raw}-application-conventions` apply the `${languageLC.raw}-common-conventions` plugin *(1)* so that the configuration performed there is shared by library and application projects alike.
    Next they apply the `java-library` or `application` plugin respectively *(2)* thus combining our common configuration logic with specifics for a library or application.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 08 11:21:22 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

                ?: Factory {
                    // Find convention
                    // Reflective look up to still support plugins that inlined this function once conventions will be removed
                    this::class.java.methods.firstOrNull { it.name == "getConvention" }?.invoke(this)?.let { convention ->
                        convention::class.java.getMethod("findPlugin", Class::class.java).invoke(convention, T::class.java)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/CodeGenerator.kt

            /**
             * Retrieves the [$original][$type] convention.
             *
             * @deprecated The concept of conventions is deprecated. Use extensions instead.
             */
            val $targetType.`$kotlinIdentifier`: $type get() =
                $thisConvention.getPluginByName<$type>("$stringLiteral")
    
            /**
             * Configures the [$original][$type] convention.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/README.adoc

    │   │   │       ├── myproject.java-conventions.gradle.kts
    │   │   │       └── myproject.library-conventions.gradle.kts
    ...
    ----
    =====
    [.multi-language-sample]
    =====
    .Build logic layout
    [source, groovy]
    ----
    ├── buildSrc
    │   ├── build.gradle
    │   ├── settings.gradle
    │   ├── src
    │   │   ├── main
    │   │   │   └── groovy
    │   │   │       ├── myproject.java-conventions.gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

                    archiveFileName.convention("something")
                }
            """
    
            expect: 'convention mapping is ignored'
            configurationCacheRun 'myTask'
    
            and: 'convention mapping is ignored just the same'
            configurationCacheRun 'myTask'
        }
    
        def "restores convention mapped task input property explicitly set to null"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_precompiled.adoc

    Convention properties are properties that are initialized with default values but can be overridden:
    
    ====
    include::sample[dir="snippets/plugins/greeting/kotlin", files="buildSrc/src/main/kotlin/greetings.gradle.kts[tags=convention]"]
    include::sample[dir="snippets/plugins/greeting/groovy", files="buildSrc/src/main/groovy/greetings.gradle[tags=convention]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/ConventionsInterpretationSequenceStep.kt

    import org.gradle.internal.declarativedsl.evaluationSchema.buildEvaluationSchema
    import org.gradle.internal.declarativedsl.evaluator.conventions.ConventionDefinition
    import org.gradle.internal.declarativedsl.evaluator.conventions.ConventionsConfiguringBlock
    import org.gradle.internal.declarativedsl.evaluator.conventions.ConventionsTopLevelReceiver
    import org.gradle.internal.declarativedsl.software.softwareTypesConventions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt

    
    /**
     * Checks is a given ObjectOrigin receiver is a call to the `conventions` function.
     */
    internal
    fun isConventionsCall(parent: ObjectOrigin.ReceiverOrigin) = parent is ObjectOrigin.AccessAndConfigureReceiver &&
        isTopLevelReceiver(parent.receiver) &&
        (parent as? ObjectOrigin.AccessAndConfigureReceiver)?.function?.simpleName == ConventionsTopLevelReceiver::conventions.name
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

                // val i
                @Suppress("deprecation")
                verify(project).convention
                @Suppress("deprecation")
                verify(convention).plugins
    
                // val j
                @Suppress("deprecation")
                verify(project).convention
                @Suppress("deprecation")
                verify(convention).plugins
    
                // val k
                verify(project).dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/provider/SupportsConvention.java

    /**
     * Marks a Gradle API custom type as supporting conventions.
     *
     * <p>
     * <b>Note:</b> This interface is not intended for implementation by build script or plugin authors.
     * </p>
     *
     * @since 8.7
     */
    @Incubating
    public interface SupportsConvention {
        /**
         * Unsets this object's explicit value, allowing the convention to be
         * selected when evaluating this object's value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 13:51:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top