gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

    • -240
    • +0
    ./kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt
  1. … 518 more files in changeset.
Normalise line separators of strings given to the Kotlin lexer

Fixes #858

  1. … 2 more files in changeset.
Let the `kotlin-dsl` plugin add gradleKotlinDSl() to testImplementation

instead of testRuntime

in order for the Kotlin DSL api to be available for tests implemented

using ProjectBuilder, mocks etc...

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Add link to precompiled script plugin from `Plugin<*>` adapter

  1. … 2 more files in changeset.
Remove usages of TestKit internals

Gradle JVM arguments can be set using a gradle.properties file

  1. … 3 more files in changeset.
Reuse `joinLines` extension

  1. … 3 more files in changeset.
Polish `PrecompiledScriptPluginTest`

Normalize `inline` modifier layout

  1. … 34 more files in changeset.
Propagate exception thrown by precompiled script plugin unwrapped

  1. … 1 more file in changeset.
Preserve package declaration in script plugin adapter

  1. … 2 more files in changeset.
Protect `implementationClass` against invalid identifier characters

  1. … 1 more file in changeset.
Add support for precompiled `Gradle` plugins

  1. … 1 more file in changeset.
Add support for precompiled `Settings` plugins

  1. … 2 more files in changeset.
Mark offending test with @LeaksFileHandles

Make precompiled script plugins publishable via `maven-publish`

By populating `gradlePlugin.plugins` eagerly.

  1. … 2 more files in changeset.
Expose precompiled scripts as Gradle plugins

The Gradle plugin id is derived from the script file name and its

package declaration if any.

The implementation is currently limited to scripts under

`src/main/kotlin`. Future commits will lift this restriction.

See #669

    • -0
    • +38
    ./kotlin/dsl/plugins/precompiled/ScriptPluginTest.kt
  1. … 3 more files in changeset.
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.
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.
Fix PrecompiledScriptPluginTest compilation

lint modified files after merging develop

  1. … 10 more files in changeset.
lint: apply blank lines rule

  1. … 67 more files in changeset.
Introduce :plugins-experiments subproject

to host experimental Gradle plugins

and factor build logic and test fixtures from :plugins

    • -48
    • +0
    ./kotlin/dsl/plugins/AbstractPluginTest.kt
  1. … 8 more files in changeset.
Make `PrecompiledInitScript` expose the same API as `KotlinInitScript`

  1. … 3 more files in changeset.
Introduce `PrecompiledInitScript` script template

  1. … 3 more files in changeset.
Introduce `PrecompiledSettingsScript` script template

  1. … 3 more files in changeset.
Introduce `PrecompiledProjectScript` script template

    • -0
    • +59
    ./kotlin/dsl/plugins/dsl/PrecompiledScriptPluginTest.kt
  1. … 5 more files in changeset.
Move from jre7/8 to jdk7/8

Signed-off-by: StefMa <stefmadev@outlook.com>

  1. … 9 more files in changeset.
Remove usage of `IdeDependenciesExtractor`

Leverage upstream changes to settings pluginManagement.repositories

    • -2
    • +2
    ./kotlin/dsl/plugins/AbstractPluginTest.kt
  1. … 4 more files in changeset.
Expose `kotlin-stdlib-jre8` to build scripts

See #558

  1. … 9 more files in changeset.