DefaultProjectSchemaProvider.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

    • -134
    • +0
    ./DefaultProjectSchemaProvider.kt
  1. … 521 more files in changeset.
Simplify splitting :provider into :provider-plugins

by letting :provider-plugins depend directly on :provider

and removing :provider-spi

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 38 more files in changeset.
Generate accessors for conventions at the `Project` level only

Don't generate accessors for `SourceSet` conventions

We should instead migrate our `SourceSet` conventions to extensions

so we can provide a better and forward compatible DSL.

  1. … 2 more files in changeset.
Polish `DefaultProjectSchemaProvider`

- Compose methods

- Simplify `typeOf` declarations by making type declarations unnecessary

Convention instance types inference now skips synthetic types

instead of relying on the fragile name.endsWith("_Decorated")

Signed-off-by: Paul Merlin <paul@gradle.com>

Factor TypeOf instances creation in :provider-plugins

Signed-off-by: Paul Merlin <paul@gradle.com>

Infer public type of convention instances

via HasPublicType

or by undecorating instance class

Signed-off-by: Paul Merlin <paul@gradle.com>

ProjectSchema calculation consider all available source sets

  1. … 2 more files in changeset.
Move ProjectSchema calculation into Gradle plugins classloader

    • -0
    • +96
    ./DefaultProjectSchemaProvider.kt
  1. … 13 more files in changeset.