KotlinPluginDependenciesHandler.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename `KotlinPluginDependenciesHandler => PluginDependenciesSpecScope`

    • -33
    • +0
    ./KotlinPluginDependenciesHandler.kt
  1. … 4 more files in changeset.
Rename `BuildScriptBlockMarker => GradleDsl`

  1. … 1 more file in changeset.
Polish top-level definitions, parameter lists and exceptions

* Separate top-level definitions by two lines

* Segregate visibility modifier of top-level definition to

its own line

* Prefer starting long parameter lists at the next line (more

sustainable in face of method renames)

* Remove unnecessary `Exception` suffix from class names

* Remove unnecessary prefixes from field names

* Use better name for exception variables

  1. … 38 more files in changeset.
Keep builtin plugin extensions at the PluginDependenciesSpec level

See #168

  1. … 3 more files in changeset.
Add missing file headers

See #186

    • -0
    • +16
    ./KotlinPluginDependenciesHandler.kt
  1. … 1 more file in changeset.
Support the `plugins` block :tada:

We use a new type - `KotlinPluginDependenciesHandler` - as the target

for the top-level plugins block instead of the core type

`PluginDependenciesSpec` so we can annotate it with a `@DslMarker`

annotation - `@BuildScriptBlockMarker` - in the hopes that once IntelliJ

starts recognising it, the code completion experience will be better.

Better documentation comments and validation will come in subsequent

commits.

See #186

    • -0
    • +16
    ./KotlinPluginDependenciesHandler.kt
  1. … 10 more files in changeset.