CodeGenerator.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Let `PrintAccessors` emit the same code used for the extensions jar

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

  1. … 6 more files in changeset.
Remove excessive blank line

Signed-off-by: Mike Kobit <mkobit@gmail.com>

Remove accidental indentation

Signed-off-by: Mike Kobit <mkobit@gmail.com>

Generate accessors for `ArtifactHandler`

issue https://github.com/gradle/kotlin-dsl/issues/889

Signed-off-by: Mike Kobit <mkobit@gmail.com>

  1. … 5 more files in changeset.
Emit properly indented source code

  1. … 1 more file in changeset.
Emit source code

  1. … 5 more files in changeset.
Prepare `AccessorBytecodeEmitter` to also emit source code

By introducing `AccessorFragment` to hold together all the pieces required to

emit both source and byte code in a single place.

  1. … 5 more files in changeset.
Emit configuration accessors as regular container element accessors

  1. … 3 more files in changeset.
Support generic extension types by preserving schema type information

  1. … 11 more files in changeset.
Emit accessors for container elements

  1. … 3 more files in changeset.
Emit bytecode for configuration and extension accessors directly

  1. … 9 more files in changeset.
Ensure all accessors are unique per target type and name

Favour `unsafeLazy` over `lazy` for values that are not shared between threads

Merge branch 'develop' into eskatos/configurations/fix-accessors

  1. … 1 more file in changeset.
Generate accessors for existing tasks, same as with configurations

but specialized to expose TaskProvider<T>

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

  1. … 6 more files in changeset.
Remove eager configuration accessors

and introduce deprecated extensions to keep source-compatibility

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

  1. … 2 more files in changeset.
Generate lazy accessors to existing elements of `configurations`

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

  1. … 7 more files in changeset.
Migrate to the official coroutines API

  1. … 4 more files in changeset.
Add missing @Incubating

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

  1. … 4 more files in changeset.
Refine the dependencies.constraints {} DSL

by generating accessors for known configurations

by adding `classpath` accessor for buildscript.dependencies.constraints

by adding a configuration scope with string invoke operators

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

  1. … 7 more files in changeset.
Add missing `ScriptHandlerScope.DependencyHandler.classpath` overloads

Resolves #1048

  1. … 2 more files in changeset.
Add missing `ScriptHandlerScope.DependencyHandler.classpath` overloads

Resolves #1048

  1. … 2 more files in changeset.
Optimize `SeenAccessorSpecs`

Replace `O(N x M)` algorithm by `O(1)` version.

Allow a project to have multiple extensions of type NamedDomainObjectContainer

By emitting the required Kotlin accessors to separate files grouped by

receiver type.

  1. … 3 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -0
    • +341
    ./CodeGenerator.kt
  1. … 521 more files in changeset.