Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Report script diagnostics to the host

    • -0
    • +143
    ./CompilationConfigurations.kt
  1. … 1 more file in changeset.
Prefer `Action<T>` over `T.() -> Unit` for the Kotlin script API

From the perspective of an user of the API both types are effectively

the same.

From a compile time and runtime perspective `Action<T>` seems a better

choice as values can be passed to the core Gradle API directly.

From an API consistency point of view `Action<T>` also looks like the

superior choice as it is more consistent with the rest of the Gradle

API.

And finally, from an user education perspective, `KotlinScript`

provides a clear opportunity for users to understand the equivalence

between `Action<T>` and `T.() -> Unit`.

  1. … 2 more files in changeset.
Remove deprecation of classes still used by the IDE script templates

Let compiled Kotlin script templates implement `PluginAware` by delegation

In order to enable `ObjectConfigurationAction` syntax (`apply {... }`)

and to preserve file resolving semantics when using a `PluginAware`

extension such as `PluginAware.apply(from: String? = null, ...)` -

init and settings scripts resolve the applied script file relative to

the applying script.

    • -0
    • +45
    ./PluginAwareScript.kt
  1. … 1 more file in changeset.
Let `CompiledKotlinBuildScriptAndPluginsBlock` script template implement the Kotlin script API

Let `pluginManagement` Kotlin script template have an implicit `Settings` receiver

  1. … 3 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

  1. … 4 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

  1. … 2 more files in changeset.
Let Kotlin settings script template for `pluginManagement` block implement the Kotlin script API

  1. … 1 more file in changeset.
Let Kotlin build scripts honor the common `KotlinScript` contract

  1. … 2 more files in changeset.
Polish `KotlinScript` and family

- Better and more uniform names

    • -0
    • +120
    ./DefaultKotlinScript.kt
  1. … 2 more files in changeset.
Polish `KotlinScript` and family

- Better and more uniform names

  1. … 2 more files in changeset.
Let Kotlin settings script honor the common `KotlinScript` contract

  1. … 2 more files in changeset.
Introduce `KotlinScript` contract and implement it for Kotlin init scripts

    • -0
    • +117
    ./KotlinScriptAdapter.kt
  1. … 2 more files in changeset.
Implement `Gradle` methods missing from `GradleDelegate`

Restore `PrecompiledInitScript` interface for backward compatibility

And do the same to `KotlinInitScript`, the script template used by the

IDE for content assistance.

  1. … 3 more files in changeset.
Cosmetics

Put each parameter on its own line

  1. … 1 more file in changeset.
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.
Move `CompiledKotlinSettingsScript` to the support package

Only source-level API compatibility is required for script templates.

  1. … 3 more files in changeset.
Move `CompiledKotlinSettingsScript` to the support package

Only source-level API compatibility is required for script templates.

    • -0
    • +42
    ./CompiledKotlinSettingsScript.kt
  1. … 3 more files in changeset.
Disambiguate `PluginAware.apply(Action)` from `T.apply(T.() -> Unit)`

Disambiguate `PluginAware.apply(Action)` from `T.apply(T.() -> Unit)`

Polish `CompiledKotlinBuildScript.kt`

Polish `CompiledKotlinBuildScript.kt`

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

  1. … 6 more files in changeset.
Replace `Project` interface delegation by `Project` implicit receiver

    • -0
    • +148
    ./CompiledKotlinBuildScript.kt
    • -0
    • +65
    ./CompiledKotlinPluginsBlock.kt
    • -0
    • +27
    ./ImplicitReceiver.kt
    • -0
    • +44
    ./delegates/PluginAwareDelegate.kt
  1. … 6 more files in changeset.
wip: Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

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

  1. … 10 more files in changeset.