Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,936 for contentions (0.17 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/samples/incubating/build-organization/publishing-convention-plugins/README.adoc

    The `com.myorg.library-conventions` and `com.myorg.service-conventions` plugins both apply the `com.myorg.java-conventions` plugin:
    ====
    include::sample[dir="kotlin",files="convention-plugins/src/main/kotlin/com.myorg.library-conventions.gradle.kts[tags=plugins];convention-plugins/src/main/kotlin/com.myorg.service-conventions.gradle.kts[tags=plugins]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/README.adoc

    The `com.myorg.library-conventions` and `com.myorg.service-conventions` plugins both apply the `com.myorg.java-conventions` plugin:
    ====
    include::sample[dir="kotlin",files="convention-plugins/src/main/kotlin/com.myorg.library-conventions.gradle.kts[tags=plugins];convention-plugins/src/main/kotlin/com.myorg.service-conventions.gradle.kts[tags=plugins]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConventionExtensions.kt

    fun <T : Any> Convention.getPlugin(conventionType: KClass<T>): T =
        getPlugin(conventionType.java)
    
    
    /**
     * Locates the plugin convention object with the given type.
     *
     * @param T the convention plugin type.
     * @return the convention plugin, or null if there is no such convention plugin
     * @throws [IllegalStateException] when there are multiple matching objects
     * @see [Convention.findPlugin]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/groovy/buildSrc/src/main/groovy/myproject.java-library-conventions.gradle

    plugins {
        id 'java-library'
        id 'myproject.publishing-conventions'
    }
    
    publishing {
        publications {
            maven(MavenPublication) {
                from components.java
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 194 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.service-conventions.gradle.kts

    // Define conventions for service projects this organization.
    // Service projects need to use the organization's Java conventions and pass some additional checks
    
    // tag::plugins[]
    plugins {
        id("com.myorg.java-conventions")
    }
    // end::plugins[]
    
    val integrationTest by sourceSets.creating
    
    configurations[integrationTest.implementationConfigurationName].extendsFrom(configurations.testImplementation.get())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/propertyConvention/groovy/build.gradle

    // tag::conventions[]
    tasks.register("show") {
        def property = objects.property(String)
    
        // Set a convention
        property.convention("convention 1")
    
        println("value = " + property.get())
    
        // Can replace the convention
        property.convention("convention 2")
        println("value = " + property.get())
    
        property.set("explicit value")
    
        // Once a value is set, the convention is ignored
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 540 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/propertyConvention/kotlin/build.gradle.kts

    // tag::conventions[]
    tasks.register("show") {
        val property = objects.property(String::class)
    
        // Set a convention
        property.convention("convention 1")
    
        println("value = " + property.get())
    
        // Can replace the convention
        property.convention("convention 2")
        println("value = " + property.get())
    
        property.set("explicit value")
    
        // Once a value is set, the convention is ignored
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 547 bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/kotlin/buildSrc/src/main/kotlin/myproject.java-library-conventions.gradle.kts

    plugins {
        id("java-library")
        id("myproject.publishing-conventions")
    }
    
    publishing {
        publications {
            create<MavenPublication>("maven") {
                from(components["java"])
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 210 bytes
    - Viewed (0)
Back to top