accessors

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add missing `@Deprecated` annotation

There was one case where the annotation was added

in source code but not in the bytecode.

Add missing `@Deprecated` annotation

There was one case where the annotation was added

in source code but not in the bytecode.

Add missing `@Deprecated` annotation

There was one case where the annotation was added

in source code but not in the bytecode.

Cosmetics

Put each parameter on its own line

  1. … 1 more file in changeset.
Cosmetics

Put each parameter on its own line

Cosmetics

Put each parameter on its own line

  1. … 1 more file in changeset.
Add `HAS_ANNOTATIONS` flag to metadata of deprecated extension functions

  1. … 1 more file in changeset.
Add `HAS_ANNOTATIONS` flag to metadata of deprecated extension functions

  1. … 1 more file in changeset.
Add `@Deprecated` to generated configuration accessors

  1. … 8 more files in changeset.
Add `@Deprecated` to generated configuration accessors

  1. … 8 more files in changeset.
Emit lower bound for generic types of Kotlin DSL accessors

Fixes #10772

  1. … 3 more files in changeset.
Add `@Deprecated` configurations to the Kotlin accessors

WIP - Add more details

  1. … 6 more files in changeset.
Polish `Emitter.kt`

- Compose method

Add implicit import for plugin spec builders package to the model

  1. … 4 more files in changeset.
Avoid emitting bytecode for type-safe accessors unnecessarily

For precompiled script plugins get their type-safe accessors from the

emitted source code only.

  1. … 1 more file in changeset.
Avoid emitting bytecode for type-safe accessors unnecessarily

For precompiled script plugins get their type-safe accessors from the

emitted source code only.

  1. … 1 more file in changeset.
Don't link to inaccessible types from the generated accessor source code

Format generated plugin spec builders correctly

  1. … 2 more files in changeset.
Make generated type-safe accessors `internal`

  1. … 2 more files in changeset.
Emit type-safe accessors for precompiled script plugins

  1. … 5 more files in changeset.
Compute project schema implied by plugin requests

  1. … 1 more file in changeset.
Merge branch 'release' into bamboo/precompiled-script-plugins/type-safe-accessors

  1. … 1 more file in changeset.
Replace usages of `ASM6` with `ASM_LEVEL`

Fixes #8533

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

  1. … 2 more files in changeset.
Honour Kotlin DSL coding conventions in generated code

- Keep visibility modifiers in separate lines

Merge type-safe accessors for precompiled script plugins wip

  1. … 37 more files in changeset.
Merge gradle/kotlin-dsl@v1.1.1 into eskatos/kotlin-dsl-merge

commit 'e57395d8378'

# Conflicts:

# build.gradle.kts

# gradle/wrapper/gradle-wrapper.properties

# samples/ant/gradle/wrapper/gradle-wrapper.properties

# samples/build-cache/gradle/wrapper/gradle-wrapper.properties

# samples/build-scan/gradle/wrapper/gradle-wrapper.properties

# samples/buildSrc-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/code-quality/gradle/wrapper/gradle-wrapper.properties

# samples/composite-builds/gradle/wrapper/gradle-wrapper.properties

# samples/copy/gradle/wrapper/gradle-wrapper.properties

# samples/domain-objects/gradle/wrapper/gradle-wrapper.properties

# samples/extra-properties/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/groovy-interop/gradle/wrapper/gradle-wrapper.properties

# samples/hello-android/gradle/wrapper/gradle-wrapper.properties

# samples/hello-coroutines/gradle/wrapper/gradle-wrapper.properties

# samples/hello-js/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kapt/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kotlin/gradle/wrapper/gradle-wrapper.properties

# samples/hello-world/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/consumer/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-publish/gradle/wrapper/gradle-wrapper.properties

# samples/model-rules/gradle/wrapper/gradle-wrapper.properties

# samples/modularity/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-config-injection/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project/gradle/wrapper/gradle-wrapper.properties

# samples/multi-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/project-properties/gradle/wrapper/gradle-wrapper.properties

# samples/project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/provider-properties/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/external/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/sample/gradle/wrapper/gradle-wrapper.properties

# samples/task-dependencies/gradle/wrapper/gradle-wrapper.properties

# samples/testkit/gradle/wrapper/gradle-wrapper.properties

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

# subprojects/plugins/src/test/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/ScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

# update-wrapper.sh

  1. … 16 more files in changeset.
Import :kotlin-dsl and :kotlin-dsl-test-fixtures

Both in one go because of their circular dependency

Tests are failing because of the lack of :customInstallation

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

    • -0
    • +61
    ./AccessorFragment.kt
    • -0
    • +830
    ./AccessorFragments.kt
    • -0
    • +558
    ./AccessorsClassPath.kt
    • -0
    • +304
    ./CodeGenerator.kt
    • -0
    • +60
    ./KotlinTypeStrings.kt
    • -0
    • +433
    ./PluginAccessorsClassPath.kt
    • -0
    • +81
    ./ProjectSchemaProvider.kt
    • -0
    • +31
    ./SingletonProperties.kt
    • -0
    • +105
    ./runtime/Runtime.kt
    • -0
    • +72
    ./tasks/PrintAccessors.kt
  1. … 523 more files in changeset.