Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,286 for conventions (0.17 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/plugins/ProjectTheExtensionCrossVersionSpec.groovy

    import static org.junit.Assume.assumeFalse
    import static org.junit.Assume.assumeTrue
    
    @TargetVersions("5.0+")
    class ProjectTheExtensionCrossVersionSpec extends CrossVersionIntegrationSpec {
    
        def "can access extensions and conventions with current Gradle version from plugin built with Gradle 5.0+"() {
    
            def isFlaky = OperatingSystem.current().isWindows() &&
                previous.version >= GradleVersion.version("6.5") &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 07 13:25:10 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/DeclarativeKotlinScriptEvaluator.kt

    import org.gradle.declarative.dsl.evaluation.InterpretationSequence
    import org.gradle.groovy.scripts.ScriptSource
    import org.gradle.internal.declarativedsl.conventions.softwareTypeRegistryBasedConventionRegistrar
    import org.gradle.internal.declarativedsl.conventions.softwareTypeRegistryBasedConventionRepository
    import org.gradle.internal.declarativedsl.evaluator.runner.EvaluationResult.NotEvaluated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/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;
    
      // Specification of the desired behavior of a cron job, including the schedule.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobSpec spec = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. common-protos/k8s.io/api/batch/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;
    
      // Specification of the desired behavior of a cron job, including the schedule.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobSpec spec = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaProvider.kt

        val extensions: List<ProjectSchemaEntry<T>>,
        val conventions: List<ProjectSchemaEntry<T>>,
        val tasks: List<ProjectSchemaEntry<T>>,
        val containerElements: List<ProjectSchemaEntry<T>>,
        val configurations: List<ConfigurationEntry<String>>,
        val scriptTarget: Any? = null
    ) {
    
        fun <U> map(f: (T) -> U) = ProjectSchema(
            extensions.map { it.map(f) },
            conventions.map { it.map(f) },
            tasks.map { it.map(f) },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExcludeIntegrationTest.groovy

            setup:
            file('included/settings.gradle').text = """
                pluginManagement {
                    includeBuild('../conventions')
                }
                plugins {
                    id 'script-plugin'
                }
                include('sub')
            """
            file('conventions/settings.gradle') << """
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 12:16:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/java/jvm-multi-project-with-additional-test-types/README.adoc

    Concretely, we add a _convention plugin_ in `buildSrc` to share the integration test setup between multiple subprojects:
    
    ====
    include::sample[dir="kotlin",files="buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts[]"]
    include::sample[dir="groovy",files="buildSrc/src/main/groovy/myproject.java-conventions.gradle[]"]
    ====
    
    And apply it in an application project:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top