main

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Compute script compilation classpath from target `ClassLoaderScope`

Instead of `scriptHandler.scriptClassPath` so plugin implementations

coming from other loaders, as it is the case with plugins tested via

TestKit's `withPluginClasspath`, are also added to the compilation

classpath.

See #492

  1. … 1 more file in changeset.
Document `report` parameter for future reference

Move ProjectSchema calculation into Gradle plugins classloader

  1. … 10 more files in changeset.
Process the `buildscript` block of settings script plugins

See #180

  1. … 1 more file in changeset.
Prefer method reference over lambda

Avoid intermediary lists when collecting the project schema

Remove wrong filtering of Configuration accessors

they don't conflict with Project extensions

Merge branch 'develop' into eskatos/accessors/nested-extensions-conventions

Use DefaultClassPath factory method instead of now deprecated ctor

Move `exportClassPathFromHierarchyOf` to `KotlinScriptClassPathProvider`

Enable `-Xjsr305=strict` via `@ScriptTemplateAdditionalCompilerArguments`

See #463

Process the `buildscript` block of project script plugins

See #180

  1. … 1 more file in changeset.
Fix nullability declaration on ScriptHandlerScope.classpath

Allow adding dependency on `Configuration` instance via generated configuration accessor

Allow adding a dependency on a `Configuration` instance

By taking into account that `DependencyHandler.add(String, Any)` will

return `null` when given a `Configuration`.

See #797

  1. … 1 more file in changeset.
Polish `KotlinBuildScriptCompiler`

- Split query from default value

Normalize `inline` modifier layout

Address review comments

  1. … 1 more file in changeset.
Normalize `inline` modifier layout

  1. … 20 more files in changeset.
Don't move inline method implementation to new API before new release

Extract `Convention.findPlugin<T>()` and `findPlugin(KClass)`

Polish `KotlinScriptPluginFactory`

- Keep one argument per line in multi-line calls

Reuse `KotlinScriptType` in `ScriptPlugin`

  1. … 2 more files in changeset.
Extract `KotlinScriptType` from `KotlinBuildScriptModelBuilder`

    • -0
    • +35
    ./kotlin/org/gradle/kotlin/dsl/support/KotlinScriptType.kt
  1. … 1 more file in changeset.
Fix ResolverEventLogger thread leak

by letting the logging thread die when no events to process for a while

and restarting it when required

One event might hang in the queue if it arrives after q.poll()

has returned null and before the consumer thread death.

In this case, the next event will flush the queue to disk.

Hardcode 'build' on both sides of buildSrc source roots resolution

  1. … 1 more file in changeset.
Location aware exceptions for script evaluation errors

  1. … 1 more file in changeset.
Fix buildSrc classpath invalidation between regular and ide modes

Previous implementation using a file added to buildSrc jar was a bad

idea, it would have invalidated the buildSrc classpath each time build

executions switch between regular and ide modes.

Put the file under `buildSrc/build` instead.

  1. … 1 more file in changeset.
KotlinDslProviderMode is internal

Short circuit buildSrc source roots action when not in classpath mode

in order not to impact all other build executions

by extracting classpath mode switch to its own type

    • -0
    • +26
    ./kotlin/org/gradle/kotlin/dsl/provider/KotlinDslProviderMode.kt
  1. … 1 more file in changeset.