src

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

  1. … 513 more files in changeset.
Simplify splitting :provider into :provider-plugins

by letting :provider-plugins depend directly on :provider

and removing :provider-spi

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

  1. … 38 more files in changeset.
Deduplicate project.serviceOf<T>()

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

  1. … 11 more files in changeset.
Normalise line separators of strings given to the Kotlin lexer

Fixes #858

  1. … 1 more file 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>

Add link to precompiled script plugin from `Plugin<*>` adapter

Extract `KotlinDslCompilerPlugins` from `KotlinDslPlugin`

So it can be used separately.

Polish `PrecompiledScriptPlugins`

Remove unnecessary laziness of `ScriptPlugin` list

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.
Introduce `integ-tests` project

And make generated code follow the kotlin-dsl coding conventions.

  1. … 7 more files in changeset.
Polish `PrecompiledScriptPlugin`

- Inline unnecessary variable

Polish `PrecompiledScriptPluginTest`

Normalize `inline` modifier layout

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

Make `scriptFile` private

Reuse `KotlinScriptType` in `ScriptPlugin`

  1. … 2 more files in changeset.
Polish `PrecompiledScriptPlugins`

Query file only once.

Preserve package declaration in script plugin adapter

Polish `ScriptPlugin`

Dedupe file extension based logic.

Protect `implementationClass` against invalid identifier characters

Add support for precompiled `Gradle` plugins

Add support for precompiled `Settings` plugins

Mark offending test with @LeaksFileHandles

Make precompiled script plugins publishable via `maven-publish`

By populating `gradlePlugin.plugins` eagerly.

  1. … 1 more file in changeset.
Produce `List<ScriptPlugin>` lazyly

Only exposes script plugins from `pluginSourceSet`

Fix typo

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

  1. … 1 more file in changeset.