Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,013 for conventions (0.22 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-attributeSubstitutionRule/kotlin/buildSrc/src/main/kotlin/myproject.java-library-conventions.gradle.kts

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 68 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/buildSrc/src/main/kotlin/myproject.java-library-conventions.gradle.kts

    Octavia Togami <******@****.***> 1704473262 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 120 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/SoftwareTypeRegistryIntegration.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.declarativedsl.conventions
    
    import org.gradle.internal.declarativedsl.evaluator.conventions.ConventionDefinitionRegistrar
    import org.gradle.internal.declarativedsl.evaluator.conventions.SoftwareTypeConventionRepository
    import org.gradle.internal.declarativedsl.evaluator.conventions.SoftwareTypeConventionResolutionResults
    import org.gradle.plugin.software.internal.SoftwareTypeRegistry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/sharing-convention-plugins-with-build-logic/README.adoc

    ====
    
    The shared _convention plugin_ `myproject.java-conventions` is implemented in an _included build_ called `build-conventions`.
    The build is then included in the root project's _settings_ file as seen in the above snippet.
    For more details about included builds, see link:{userManualPath}/composite_builds.html[Composing Builds] chapter.
    
    The `myproject.java-conventions` plugin is then applied to the `buildSrc` build:
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top