KotlinBuildscriptBlock.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.
Refine Project.buildscript(ScriptHandlerScope.() -> Unit) extension

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

  1. … 8 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.
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

  1. … 13 more files in changeset.
Settings can use buildscript dependencies

By moving kotlin script target decision up to the script plugin factory

in order to distinguish Project & Settings sub-block templates

(buildscript {} & plugins {}).

The script template now contributes to the compiled script cache key.

One side benefit is that now, script plugins can be applied to either

a Project or Settings.

  1. … 6 more files in changeset.
Rename base package to org.gradle.kotlin.dsl

    • -0
    • +38
    ./KotlinBuildscriptBlock.kt
  1. … 313 more files in changeset.