Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for conventions (0.22 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "everything has convention and is set"             | setAll("convention", "convention") | setAll("test", "baz") | """id = test\nbar = baz"""
        }
    
        def "sensible error when conventions are set more than once (#testCase)"() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    └── settings.gradle.kts
    ----
    <1> Create the `myproject.java-conventions` convention plugin.
    <2> Applies the `myproject.java-conventions` convention plugin.
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    .
    ├── buildSrc
    │   ├── src
    │   │   └──main
    │   │      └──groovy
    │   │         └──myproject.java-conventions.gradle  // <1>
    │   └── build.gradle
    ├── api
    │   ├── src
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. 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)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    By sticking to the default conventions, new developers to the project immediately know how to find their way around.
    While those conventions can be reconfigured, it makes it harder to build script users and authors to manage the build logic and its outcome.
    Try to stick to the default conventions as much as possible except if you need to adapt to the layout of a legacy project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        val conventions: List<ProjectSchemaEntry<TypeOf<*>>>,
        val tasks: List<ProjectSchemaEntry<TypeOf<*>>>,
        val containerElements: List<ProjectSchemaEntry<TypeOf<*>>>
    )
    
    
    internal
    fun targetSchemaFor(target: Any, targetType: TypeOf<*>): TargetTypedSchema {
    
        val extensions = mutableListOf<ProjectSchemaEntry<TypeOf<*>>>()
        val conventions = mutableListOf<ProjectSchemaEntry<TypeOf<*>>>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                .addPluginId("org.gradle.repo-conventions", "RepoConventionPlugin")
                .publishAs("g", "a", "1.0", pluginPortal, createExecuter())
    
            // make sure we don't use the default fixture which already adds repositories
            settingsFile.text = """
                plugins {
                    id "org.gradle.repo-conventions" version "1.0"
                }
    
                rootProject.name = 'test'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/api/storage/v1alpha1/generated.proto

      // with the unique CSI driver name.
      //
      // Objects are namespaced.
      //
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // nodeTopology defines which nodes have access to the storage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // The desired behavior of this daemon set.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional DaemonSetSpec spec = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional IngressSpec spec = 2;
    
      // status is the current state of the Ingress.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional IngressStatus status = 3;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top