kotlin-dsl-provider-plugins

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix Kotlin DSL accessor for `android.kotlinOptions`

And introduce a stricter accessor type precedence order.

The accessor type is the first public Kotlin type found in the given extension

type hierarchy considering all the types in the following order:

* the extension type itsef

* its superclasses excluding `java.lang.Object`

* all supported interfaces ordered by:

- subtyping first:

subtypes before supertypes

- where it's found in the class hierarchy:

subclass interfaces before superclass interfaces

    • -0
    • +1
    ./kotlin-dsl-provider-plugins.gradle.kts
  1. … 1 more file in changeset.
Fix Kotlin DSL accessor for `android.kotlinOptions`

And introduce a stricter accessor type precedence order.

The accessor type is the first public Kotlin type found in the given extension

type hierarchy considering all the types in the following order:

* the extension type itsef

* its superclasses excluding `java.lang.Object`

* all supported interfaces ordered by:

- subtyping first:

subtypes before supertypes

- where it's found in the class hierarchy:

subclass interfaces before superclass interfaces

Fixes #11083

    • -0
    • +1
    ./kotlin-dsl-provider-plugins.gradle.kts
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

  1. … 72 more files in changeset.
Revert "Merge pull request #10954 from gradle/eskatos/kotlin-dsl/new-tapi-model-in-tooling-api-jar"

This reverts commit 00cdf938c0d9df3786760adeecf9c2e7d45bff78, reversing

changes made to 28d5b62f4ac9b3b57b57c5b625869516198ed836.

    • -1
    • +0
    ./kotlin-dsl-provider-plugins.gradle.kts
  1. … 20 more files in changeset.
Move model parameters declaration to :toolingApi

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

    • -0
    • +1
    ./kotlin-dsl-provider-plugins.gradle.kts
  1. … 6 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

  1. … 1 more file in changeset.
Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

Prefer @Classpath over @CompileClasspath for Kotlin classpath

as Kotlin metadata is stored as resources and required by compilation

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

Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

  1. … 2 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

  1. … 17 more files in changeset.
Remove core interfaces from precompiled Kotlin script template type hierarchy

Support for a common script API will come in a subsequent commit.

  1. … 8 more files in changeset.
Add test for deprecated configuration accessors

This commit adds a test that makes sure that the

`kotlin.Deprecated` annotation is properly added

to the extension methods for deprecated configu-

rations.

  1. … 1 more file in changeset.
Polish project schema provider

Replace `Project` interface delegation by `Project` implicit receiver

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

  1. … 11 more files in changeset.
Reuse precompiled script files collection

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

  1. … 2 more files in changeset.
Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

  1. … 14 more files in changeset.
Gracefully handle lambdas registered as extensions

and coverage for lost type info with typed Java and Kotlin lambdas

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

  1. … 1 more file in changeset.
Gracefully handle lambdas registered as extensions

and coverage for lost type info with typed Java and Kotlin lambdas

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

  1. … 1 more file in changeset.
Move TAPI models parameters declarations to :kotlinDslToolingModels

so that the model clients can refer to them

and also so that the models javadoc can link to them

they are part of the API

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

  1. … 9 more files in changeset.
Fix now linted build scripts

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

    • -1
    • +1
    ./kotlin-dsl-provider-plugins.gradle.kts
  1. … 3 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

  1. … 60 more files in changeset.
Allow package declarations in Kotlin DSL scripts

In order to make it possible to `apply(from = "...")` a script that

plays the dual role of local script and precompiled script plugin.

Multi-stage scripts are not supported, more specifically, a script

with a `plugins` block or `buildscript` block will throw `CNFE` at

runtime.

  1. … 9 more files in changeset.
Merge branch 'master' into settings_script_plugin_block

* master: (572 commits)

Integrate documentation addition

Add anchor check to dead link tasks

Update navigation to match new structure

Add section about producers vs consumers

Fix dead internal links

Add task to check internal documentation links

Use underscore instead of dash in doc files

Fix include levels

Use a flatten directory for all adoc files

Consolidate "declaring repositories"

Add section about correct use of `mavenLocal()`

Increase memory for single page documentation generator

Reshuffle dependency management docs

Initial structure for new dependency management docs

Address review feedback

Rebaseline all performance test scenarios

Rebaseline NativeCleanBuildPerformanceTest

Rebaseline TaskOutputCachingSwiftPerformanceTest

Publish 5.6-20190722230056+0000

Update internal_build_cache_issue

...

  1. … 4 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Refine DefaultProjectSchemaProvider

by reworking toFirstKotlinPublicOrSelf() and adding an explaining comment

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

Fix Kotlin compilation warnings

- Suppress `unchecked_cast` warnings

- Rename parameters to match base definition

- Remove unnecessary casts

- Remove unnecessary/duplicate interface implementation

- Help the compiler understand the expressions are indeed used

  1. … 5 more files in changeset.
Let Kotlin DSL use first kotlin public type for accessors

on all containers (tasks, extensions, etc..)

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

  1. … 1 more file in changeset.
Forbid the use of `apply: false` for plugins in settings scripts

  1. … 13 more files in changeset.
Merge branch 'master' into eskatos/kotlin/1.3.40

    • -1
    • +1
    ./kotlin-dsl-provider-plugins.gradle.kts
  1. … 3 more files in changeset.