support

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

  1. … 3 more files in changeset.
Tighten exported API

This commit adds `internal` or `private` to internal members

The only exported API that includes Gradle internals is now in .provider

See #209

  1. … 19 more files in changeset.
Reuse implicit imports provided by Gradle and add Kotlin specifics

  1. … 5 more files in changeset.
Integration test samples

See #345

  1. … 32 more files in changeset.
Unify handling of JIT and AOT project accessors

This is the first step toward fixing #340.

Resolves #338

Resolves #339

    • -0
    • +25
    ./ProjectExtensions.kt
  1. … 26 more files in changeset.
Polish

- Normalise placement of `private`, `protected`, `internal` and

`inline` modifiers

  1. … 41 more files in changeset.
Resolve script classpath asynchronously

And log all the relevant events.

See #249

  1. … 15 more files in changeset.
Report correct location for `buildscript` block compilation errors

And for `plugins` block compilation errors.

Resolves #177

  1. … 5 more files in changeset.
Keep track of compilation errors to reduce chance of an exception

Most internal compiler errors we've been experiencing were being

caused by the assigned `MessageCollector` fooling the compiler into

assuming there were no errors (`hasErrors() = false`).

Improve logging behaviour

- Make compiler messages format closer to Kotlin's

- Format messages only if the will be logged

  1. … 5 more files in changeset.
Display compilation exception stack traces only if `--stacktrace`

Resolves #290

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.