support

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Polish `KotlinCompiler`

Compute parent classpath via `ClasspathUtil#getClasspath`

See #190

    • -0
    • +30
    ./ClassPathExtensions.kt
  1. … 2 more files in changeset.
Polish `exportClassPathOf`

Polish `foldHierarchy`

Polish `ClassLoaderScopeExtensions`

Add project hierarchy classpath to the script compilation classpath

Resolves #190

    • -0
    • +66
    ./ClassLoaderScopeExtensions.kt
  1. … 9 more files in changeset.
Favour `listOf` over `singletonList`

  1. … 1 more file in changeset.
Make generated accessors visible to KotlinBuildScriptModel clients

See #234

    • -191
    • +0
    ./KotlinBuildScriptDependenciesResolver.kt
    • -109
    • +0
    ./KotlinBuildScriptModelBuilder.kt
    • -106
    • +0
    ./KotlinBuildScriptModelRequest.kt
  1. … 20 more files in changeset.
Polish `KotlinBuildScriptDependenciesResolver`

- Make method private

- Rename method so call-site reads more like prose

    • -2
    • +2
    ./KotlinBuildScriptDependenciesResolver.kt
Polish spacing

- Keep top level elements two lines apart.

- Keep one line between class header and first member of busy class.

Polish `calculateGradleInstallation`

Favour single expression over multiple returns.

    • -15
    • +5
    ./KotlinBuildScriptDependenciesResolver.kt
Polish `connectorFor`

Keep function readable under 132 columns.

Turn `GradleInstallation.Wrapper` into an object

As there's only a single possible value for it.

    • -1
    • +1
    ./KotlinBuildScriptDependenciesResolver.kt
Fix warnings by favouring null-assertions over type declarations

Minor simplification

Use sealed class to define Gradle installation in model request

    • -5
    • +17
    ./KotlinBuildScriptDependenciesResolver.kt
    • -12
    • +21
    ./KotlinBuildScriptModelRequest.kt
  1. … 2 more files in changeset.
Support for querying Kotling model from custom distribution

    • -3
    • +8
    ./KotlinBuildScriptDependenciesResolver.kt
Add Gradle user home and program arguments to KotlinBuildScriptModelRequest

    • -0
    • +5
    ./KotlinBuildScriptDependenciesResolver.kt
Generate accessors for project extensions during `buildSrc` build

See: #229, #230, #231, #232, #233

  1. … 20 more files in changeset.
Adjust to change in `buildSrc` classpath behaviour

The buildSrc output is now included as a `buildSrc.jar`.

  1. … 1 more file in changeset.
Handle `HasImplicitReceiver` annotation via Kotlin compiler plugin

See #155

    • -0
    • +3
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 20 more files in changeset.
Import `java.io.File` by default

See #218

Import `org.gradle.api.*` by default

See #214

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

    • -13
    • +19
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 31 more files in changeset.
Hide functions and types that don't need to be exported

Keep builtin plugin extensions at the PluginDependenciesSpec level

See #168

  1. … 3 more files in changeset.
Recompute classpath upon plugins block changes

See #186

    • -3
    • +6
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 1 more file in changeset.
Generate builtin plugin id extensions

See #168

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

See #186

  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
    • +10
    ./KotlinPluginsBlock.kt
  1. … 10 more files in changeset.