main

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
the<T>() and configure<T>() allow generic queries

    • -0
    • +22
    ./kotlin/org/gradle/kotlin/dsl/TypeOfExtensions.kt
  1. … 2 more files in changeset.
Generate compilable accessors in face of type erasure

  1. … 1 more file in changeset.
Favor unambiguous PluginAware.apply() in doc and error messages

  1. … 1 more file in changeset.
Merge pull request #758 from gradle/eskatos/api/apply

Introduce unambiguous PluginAware.apply() overloads

  1. … 1 more file in changeset.
Require PluginAware.apply() prerequisites

Better error message

with link to new issue page

Remove spurious extensions

Let Gradle distribution sources resolution be lenient in face of errors

Polish unambiguous PluginAware.apply() overloads kdoc

Polish unambiguous PluginAware.apply() overloads

Synthetic repository used for Gradle src resolution uses artifact sources

This prevent Gradle source resolution failures when GRADLE_METADATA

feature preview is enabled

Polish KotlinBuildScriptCompiler

Polish CharSequenceExtensions

Refine Project.buildscript(ScriptHandlerScope.() -> Unit) extension

    • -0
    • +25
    ./kotlin/org/gradle/kotlin/dsl/support/ScriptHandlerExtensions.kt
Extract internalError() further

Refine reified PluginAware.apply(to) extensions overloads

Introduce unambiguous PluginAware.apply() overloads

    • -0
    • +30
    ./kotlin/org/gradle/kotlin/dsl/GradleExtensions.kt
    • -0
    • +37
    ./kotlin/org/gradle/kotlin/dsl/PluginAwareExtensions.kt
  1. … 1 more file in changeset.
Deduplicate should not happen exception creation

Polish KotlinBuildScriptCompiler

by favoring org.gradle.util.TextUtil over shaded openapi import

Refine KotlinBuildScriptCompiler

by moving block ranges extraction to lazy fields

Let the embedded kotlin repository be registered with artifacts only

allowing to use it when GRADLE_METADATA feature preview is enabled

  1. … 1 more file in changeset.
Polish internal CharSequenceExtensions

Refine internal error message

Refine KotlinBuildScriptCompiler

by renaming methods for clarity

and moving plugins range extraction up

Do not extract buildscript/plugins block twice each

  1. … 1 more file in changeset.
Polish KotlinBuildScriptCompiler

by making compile() and compileForClassPath() functions symetric

Allow to cross-configure buildscript {}

Build scripts body is cleared out of the effective buildscript block

Build script template plugins {} function throws

Project buildscript extension does the right thing

This commit does the buildscript block extraction twice, to be fixed.

  1. … 2 more files in changeset.
Expose implicit imports to precompiled scripts

By encoding the list of implicit imports directly in the compiler arguments.

Additionally:

- Extract the `PrecompiledScriptPlugins` plugin from the `kotlin-dsl`

plugin so it can be applied independently of `kotlin-dsl` until all

cacheability issues have been sorted out.

- Remove implicit imports handling from

`KotlinBuildScriptDependenciesResolver` as it's now handled by

`PrecompiledScriptDependenciesResolver`.

  1. … 4 more files in changeset.
Fail when the plugins {} block is non top-level

Build scripts body is cleared out of the effective plugins block if any

Build script template plugins {} function throws

This commit does the plugins block extraction twice, to be fixed.

  1. … 2 more files in changeset.
Add missing import