AccessorsClassPath.kt

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

  1. … 521 more files in changeset.
Simplify splitting :provider into :provider-plugins further

by moving tasks back into :provider

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

  1. … 6 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.
Deduplicate project.serviceOf<T>()

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

  1. … 11 more files in changeset.
Move embedded plugins to the Gradle Plugins classloader

by moving them to the :provider-plugins project

and adding 2 SPI interfaces in order to share code with :provider

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

  1. … 21 more files in changeset.
Fix `AccessorsClassPath.kt`

- Dedupe `AnnotationVisitor` logic

- Assume values cannot be null and are of the right type

Fix typo in field reference

Detect internal Kotlin types and mark them inaccessible

By deserializing the Kotlin `ProtoBuf.Class` information stored in the

`kotlin.Metadata` annotation. This is done only for public classes for

performance reasons.

Fixes #856

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

  1. … 13 more files in changeset.
Merge branch 'develop' into eskatos/accessors/nested-extensions-conventions

Use DefaultClassPath factory method instead of now deprecated ctor

  1. … 2 more files in changeset.
More correct detection of type parameters

Generate compilable accessors in face of type erasure

  1. … 1 more file in changeset.
lint: horizontal whitespace

  1. … 14 more files in changeset.
Generate Kotlin extensions for nested Gradle extensions/conventions

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

  1. … 5 more files in changeset.
Polish `KotlinBuildScriptModelBuilder`

- Dedupe empty AccessorClassPath value

  1. … 1 more file in changeset.
Polish `InaccessibilityReason`

- Compute explanation on demand

- Favour data class pattern matching over method dispatch

See #416

Polish `AccessorsClassPath`

- Use lambda argument to avoid capturing parameter

Allow primitive types in extension accessors

See #416

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

Add return type to factory functions so the correct type can be

inferred for `assertThat`.

See #416

  1. … 1 more file in changeset.
Polish `AccessorsClassPath`

- Move members to improve top-down file readability

- Replace lambda by constructor reference

- Replace `hasFlag` by `contains` operator for reduced noise

See #416

Keep queried JAR files open across the whole accessibility check

For efficiency, and close them all at the end.

See #416

Explain document reasons for inaccessible extension/convention accessors

See #416

  1. … 1 more file in changeset.
Erase type of accessor for extension with inaccessible type

See #416

  1. … 6 more files in changeset.
Polish `ProjectSchema<String>.toCacheKeyString()`

Generate accessors for configurations created by applied plugins

  1. … 11 more files in changeset.
Fail when generated accessors cannot be compiled

Move project schema snapshot json file to gradle/project-schema.json

See #398

  1. … 1 more file in changeset.
Rename gsk prefixed tasks to kotlinDslAccessorsSnapshot & kotlinDslAccessorsReport

  1. … 7 more files in changeset.
Generate extension accessors by default

See #397

  1. … 1 more file in changeset.