KotlinBuildScriptDependenciesResolver.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make generated accessors visible to KotlinBuildScriptModel clients

See #234

    • -191
    • +0
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 23 more files in changeset.
Polish `KotlinBuildScriptDependenciesResolver`

- Make method private

- Rename method so call-site reads more like prose

    • -2
    • +2
    ./KotlinBuildScriptDependenciesResolver.kt
Polish `calculateGradleInstallation`

Favour single expression over multiple returns.

    • -15
    • +5
    ./KotlinBuildScriptDependenciesResolver.kt
Turn `GradleInstallation.Wrapper` into an object

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

    • -1
    • +1
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 1 more file in changeset.
Use sealed class to define Gradle installation in model request

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

    • -3
    • +8
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 2 more files in changeset.
Add Gradle user home and program arguments to KotlinBuildScriptModelRequest

    • -0
    • +5
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 1 more file in changeset.
Handle `HasImplicitReceiver` annotation via Kotlin compiler plugin

See #155

    • -0
    • +3
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 22 more files 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

    • -13
    • +19
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 38 more files in changeset.
Recompute classpath upon plugins block changes

See #186

    • -3
    • +6
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 1 more file in changeset.
Compute correct classpath for sub-project build script

Resolves #130

    • -3
    • +1
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 8 more files in changeset.
Compute correct project root before requesting classpath

This allows opening a script file from a project different than the

one currently imported and still edit it with the correct classpath.

For instance, with this commit, build scripts under `samples/` can be

edited with the correct classpath.

Resolves #181

    • -3
    • +24
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 2 more files in changeset.
Polish script dependency resolution code

* Remove deprecated support for Kotlin IDEA 1.1-M01

* Pass script file path all the way down to the model builder in

preparation for better multi-project classpath computation

See #130

    • -0
    • +148
    ./KotlinBuildScriptDependenciesResolver.kt
  1. … 10 more files in changeset.