Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 982 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/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)
  8. 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)
  9. 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)
  10. 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)
Back to top