Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,936 for contentions (0.17 sec)

  1. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

        }
    }
    // end::closure[]
    
    tasks.register('conventions') {
        def objects = objects
        doLast {
            // tag::conventions[]
            def files = objects.fileCollection().convention("src")
            files.from("src2")
            def dirNames = files*.name
            println("Source dirs: ${dirNames}") // [src, src2]
            // end::conventions[]
        }
    }
    
    tasks.register('usage') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc

    == Convention Plugins
    
    Convention plugins are a way to encapsulate and reuse common build logic in Gradle.
    They allow you to define a set of conventions for a project, and then apply those conventions to other projects or modules.
    
    The example above has been re-written as a convention plugin stored in `buildSrc`:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

            ["project"].toSet() == project.stepResults.keySet().collect { it.stepIdentifier.key }.toSet()
    
            and: 'conventions get properly applied'
            // check the conventions in the resolution results, they should be there, and it is independent of the DOM overlay
            def projectEvaluated = project.stepResults.values()[0] as EvaluationResult.Evaluated<AnalysisStepResult>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

         * @param convention the new convention
         * @return the given value, if this value state is not explicit, otherwise the new convention value
         */
        public abstract S applyConvention(S value, S convention);
    
        /**
         * Marks this value state as being non-explicit. Returns the convention, if any.
         */
        public abstract S implicitValue(S convention);
    
        public abstract S implicitValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. releasenotes/notes/gateway-naming.yaml

    # release notes.
    releaseNotes:
    - |
      **Improved** Gateway naming conventions to be concatenation of `Name` and `GatewayClassName`. 
      Deployment also now deploys with its own Service Account, rather than using the `default` token. 
      Naming convention affects name of Deployment, Service and Service Account.
    
    # upgradeNotes is a markdown listing of any changes that will affect the upgrade
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 06 14:56:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

        }
    }
    // end::closure[]
    
    tasks.register("conventions") {
        val objects = objects
        doLast {
            // tag::conventions[]
            val sourceDirs = objects.fileCollection().convention("src")
            sourceDirs.from("src2")
            val sourceDirNames = sourceDirs.map { it.name }
            println("Source dirs: $sourceDirNames") // [src, src2]
            // end::conventions[]
        }
    }
    
    tasks.register("usage") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/runtime/Runtime.kt

    @Suppress("deprecation")
    fun conventionPluginByName(convention: org.gradle.api.plugins.Convention, name: String): Any =
        convention.plugins[name] ?: throw IllegalStateException("A convention named '$name' could not be found.")
    
    
    @Suppress("deprecation")
    fun conventionOf(target: Any): org.gradle.api.plugins.Convention = when (target) {
        is Project -> DeprecationLogger.whileDisabled(Factory { target.convention })!!
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt

        fun findConventions(softwareTypeName: String): SoftwareTypeConventionResolutionResults?
    }
    
    
    /**
     * Transformation logic for the kinds of resolution results that appear in conventions.
     * For any of the supported result records, supports replacing the `conventions { ... }` receiver in it with
     * the given [targetBaseReceiver].
     */
    private
    class ConventionTransformer(
        private val targetBaseReceiver: ObjectOrigin.ReceiverOrigin
    ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java

        @Deprecated
        public org.gradle.api.plugins.Convention getConvention() {
    // TODO nag once KGP doesn't register conventions anymore
    //        DeprecationLogger.deprecateType(org.gradle.api.internal.HasConvention.class)
    //            .willBeRemovedInGradle9()
    //            .withUpgradeGuideSection(8, "deprecated_access_to_conventions")
    //            .nagUser();
            if (convention == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensibleDynamicObject.java

        }
    
        public ExtensibleDynamicObject(Object delegate, AbstractDynamicObject dynamicDelegate, org.gradle.api.plugins.Convention convention) {
            this.dynamicDelegate = dynamicDelegate;
            this.convention = convention;
            this.extraPropertiesDynamicObject = new ExtraPropertiesDynamicObjectAdapter(delegate.getClass(), convention.getExtraProperties());
    
            updateDelegates();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top