KotlinInitScript.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

  1. … 521 more files in changeset.
Introduce `unsafeLazy` to replace `lazy` wherever possible

And remove the unnecessary thread synchronization overhead.

  1. … 5 more files in changeset.
Enable `-Xjsr305=strict` via `@ScriptTemplateAdditionalCompilerArguments`

See #463

  1. … 3 more files in changeset.
Extract internalError() further

  1. … 3 more files in changeset.
Deduplicate should not happen exception creation

  1. … 3 more files in changeset.
Refine internal error message

  1. … 2 more files in changeset.
Allow to cross-configure buildscript {}

Build scripts body is cleared out of the effective buildscript block

Build script template plugins {} function throws

Project buildscript extension does the right thing

This commit does the buildscript block extraction twice, to be fixed.

  1. … 6 more files in changeset.
Merge branch 'develop' into eskatos/build/ktlint-convention

  1. … 4 more files in changeset.
lint: missing new line before ")"

  1. … 42 more files in changeset.
lint: apply blank lines rule

  1. … 67 more files in changeset.
Make `PrecompiledInitScript` expose the same API as `KotlinInitScript`

  1. … 3 more files in changeset.
Take target object from the host

  1. … 8 more files in changeset.
Add documentation to the newly introduced API

  1. … 3 more files in changeset.
Make `ScriptHandler` available to the script via `KotlinScriptHost`

  1. … 7 more files in changeset.
Let scripts ScriptHandler be the one belonging to the script

  1. … 6 more files in changeset.
Fix `KotlinInitScript` documentation

Update copyright year

  1. … 4 more files in changeset.
Allow `Gradle` as a script target for init scripts

With support for the full `ScriptApi` and an `initscript` block instead of a

`buildscript` block for classpath configuration.

Files are resolved against the initscript parent directory for parity with the

Groovy DSL.

See #684

    • -0
    • +384
    ./KotlinInitScript.kt
  1. … 13 more files in changeset.