KotlinInitScript.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce scope of `@Suppress("deprecation")` annotations

  1. … 3 more files in changeset.
Treat Kotlin warnings as errors in the codebase

  1. … 17 more files in changeset.
Fix Kotlin compilation warnings in :kotlinDsl

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

  1. … 8 more files in changeset.
Fix Kotlin compilation warnings in :kotlinDsl

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

  1. … 8 more files in changeset.
Enable Kotlin -XXLanguage:+ReferencesToSyntheticJavaProperties

In 1.3.70 the Kotlin compiler being more strict reports references to

synthetic Kotlin properties for JavaBean property as errors. This

makes compilation fail and would break backwards compatibility.

Enabling this language feature turns that into a warning.

See https://youtrack.jetbrains.com/issue/KT-35933

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

  1. … 5 more files in changeset.
Enable Kotlin -XXLanguage:+ReferencesToSyntheticJavaProperties

In 1.3.70 the Kotlin compiler being more strict reports references to

synthetic Kotlin properties for JavaBean property as errors. This

makes compilation fail and would break backwards compatibility.

Enabling this language feature turns that into a warning.

See https://youtrack.jetbrains.com/issue/KT-35933

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

  1. … 5 more files in changeset.
Enable Kotlin -XXLanguage:+ReferencesToSyntheticJavaProperties

In order to fix compiler regression.

See https://youtrack.jetbrains.com/issue/KT-35933

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

  1. … 5 more files in changeset.
Mark `InitScriptApi` and `SettingsScriptApi` deprecated

And provide a suggestion to `replaceWith` the corresponding script receiver.

  1. … 1 more file in changeset.
Migrate Kotlin DSL init script template to new scripting API

  1. … 3 more files in changeset.
Migrate Kotlin DSL init script template to new scripting API

  1. … 3 more files in changeset.
Migrate Kotlin DSL init script template to new scripting API

  1. … 4 more files in changeset.
Remove deprecation from script template used for content assistance

Restore `KotlinInitScript` template

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.
wip: Remove `Gradle` and `Settings` interface delegation from Kotlin scripts

And take advantage of Kotlin script _implicit receivers_ instead.

  1. … 13 more files in changeset.
wip:

  1. … 5 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.
Rename `o.g.k.dsl.decorators.*Decorator` to `o.g.k.dsl.delegates.*Delegate`

  1. … 25 more files in changeset.
Remove the API parameter names JARs

In order to enable code navigation and refactoring across Kotlin DSL

project boundaries.

The need for parameter names JARs has been mitigated by removing

usages of Kotlin interface delegation from the public API and

implementing the required interfaces explicitly.

Resolves #1360

  1. … 23 more files in changeset.
Restore KotlinScriptHost operations services laziness

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

  1. … 3 more files in changeset.
Rework kotlin scripts host and templates after FileOperations split

see 62a84d817e9371358688f2e2f6d2d943c063d336

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

  1. … 4 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
    • +413
    ./KotlinInitScript.kt
  1. … 536 more files in changeset.