resources

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert to multi-project build in preparation to adding new modules

See #304

    • -1
    • +0
    ./META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
    • -1
    • +0
    ./META-INF/services/org.gradle.initialization.GradleApiSpecProvider
    • -1
    • +0
    ./META-INF/services/org.gradle.internal.service.scopes.PluginServiceRegistry
    • -1
    • +0
    ./META-INF/services/org.gradle.scripts.ScriptingLanguage
  1. … 260 more files in changeset.
Move from ScriptPluginFactoryProvider SPI to ScriptingLanguage SPI

See #37

    • -1
    • +0
    ./META-INF/services/org.gradle.configuration.ScriptPluginFactoryProvider
    • -0
    • +1
    ./META-INF/services/org.gradle.scripts.ScriptingLanguage
  1. … 2 more files in changeset.
Unify handling of JIT and AOT project accessors

This is the first step toward fixing #340.

Resolves #338

Resolves #339

    • -1
    • +0
    ./META-INF/services/org.gradle.initialization.buildsrc.BuildSrcProjectConfigurationAction
    • -1
    • +1
    ./META-INF/services/org.gradle.internal.service.scopes.PluginServiceRegistry
  1. … 26 more files in changeset.
Remove ProjectExtensionsTaskRegistrationAction, apply a plugin instead

That way, no need to check for .kts files presence.

Builds not using gsk won’t suffer the performance penalty anymore.

Builds using gsk will benefit a small performance gain.

See #320

    • -1
    • +0
    ./META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
  1. … 4 more files in changeset.
Generate accessors for project extensions during `buildSrc` build

See: #229, #230, #231, #232, #233

    • -1
    • +1
    ./META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
    • -1
    • +1
    ./META-INF/services/org.gradle.initialization.buildsrc.BuildSrcProjectConfigurationAction
  1. … 19 more files in changeset.
Save and load project schema in preparation for code generation

See: #232, #230

    • -0
    • +1
    ./META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
    • -0
    • +1
    ./META-INF/services/org.gradle.initialization.buildsrc.BuildSrcProjectConfigurationAction
  1. … 2 more files in changeset.
Handle `HasImplicitReceiver` annotation via Kotlin compiler plugin

See #155

  1. … 22 more files in changeset.
Implement `GradleApiSpecProvider`

See #149

    • -0
    • +1
    ./META-INF/services/org.gradle.initialization.GradleApiSpecProvider
  1. … 1 more file in changeset.
Add notice to each generated extension

See: #117

  1. … 5 more files in changeset.
Include documentation in generated API extensions

See: #117

    • -0
    • +658
    ./doc/ActionExtensions.md
  1. … 6 more files in changeset.
Serve script model even if no Kotlin script runs

Resolves #113

    • -0
    • +1
    ./META-INF/services/org.gradle.configuration.project.ProjectConfigureAction
  1. … 7 more files in changeset.
Compile scripts against generated Kotlin API jar

We would like Kotlin build scripts to behave as if all the `Action<T>`

parameters in the Gradle API had been declared as `T.() -> Unit` to

avoid the need for explicitly qualifying the single argument to the

given lambda expressions with `it`.

In other words, we would like users to be writing code like:

copySpec {

from("src")

into("out")

}

Instead of:

copySpec {

it.from("src")

it.into("out")

}

Where `copySpec` is declared in the Gradle Java API as:

CopySpec copySpec(Action<? super CopySpec> configuration)

So far we have been able to avoid the qualifying `it` in some situations

via mindful use of inheritance and Kotlin extensions but a comprehensive

solution was still lacking. The underlying issue is that while Kotlin

does provide a type extension mechanism, type members still take

precedence over extensions and currently there's no mechanism to

instruct Kotlin otherwise.

In the future we might be able to implement a different solution to this

particular issue via a new Kotlin language feature still in discussion:

- https://youtrack.jetbrains.com/issue/KT-12848

In the meantime, by giving the Kotlin compiler a carefully crafted API

jar with all members that could potentially conflict with our provided

extensions removed we can work around the fact that interface members

take precedence over extension members and expose all the extensions we

want.

And that is the solution implemented in this commit:

- Remove all API methods that take a last `Action<T>` parameter

- Generate shim extensions that take a last `T.() -> Unit`

Proper treatment for generic types will be implemented in a future

commit.

Resolves: #52

See also: #54, #117

    • -0
    • +1
    ./META-INF/services/org.gradle.internal.service.scopes.PluginServiceRegistry
  1. … 27 more files in changeset.
Improve package cohesion

This package reorganisation intends to reduce the API surface of

`org.gradle.script.lang.kotlin.*` which is imported on all build scripts

and improve cohesion by:

- Moving SPI implementation related types to a `provider` subpackage

- Moving task implementations to a `tasks` subpackage

- Moving supporting types and functions to a `support` subpackage

    • -1
    • +1
    ./META-INF/services/org.gradle.configuration.ScriptPluginFactoryProvider
  1. … 14 more files in changeset.
Generate classpath manifest

    • -2
    • +0
    ./gradle-script-kotlin-classpath.properties
  1. … 3 more files in changeset.
Add hard-coded gradle-script-kotlin-classpath.properties

    • -0
    • +2
    ./gradle-script-kotlin-classpath.properties
Introduce KotlinScriptPlugin and support

    • -0
    • +1
    ./META-INF/services/org.gradle.configuration.ScriptPluginFactoryProvider
  1. … 8 more files in changeset.
Add 'subprojects/signing/' from separate plugin developed externally initially.

git-subtree-dir: subprojects/signing

git-subtree-mainline: b637885445c41720a7193e7b21fc416f381ba217

git-subtree-split: 1ab52011ae1e1f89c789b4a09e45020b2909a974

  1. … 66 more files in changeset.
Fixed plugin descriptor to point to right class name.

    • -0
    • +1
    ./META-INF/gradle-plugins/signing.properties
Renames to match the gradle plugin naming conventions.

  1. … 21 more files in changeset.
Removed “Pgp” prefix from some classes.

  1. … 7 more files in changeset.
First commit.

  1. … 11 more files in changeset.
Created subproject for the gradle-core.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1773 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -30
    • +0
    ./org/gradle/api/plugins/quality/genericRules.xml
  1. … 2275 more files in changeset.
GRADLE-554, GRADLE-555 Added 'code quality' plugin, which runs checkstyle and codenarc against java and groovy sources.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1690 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +30
    ./org/gradle/api/plugins/quality/genericRules.xml
  1. … 15 more files in changeset.
GRADLE-357 - Changed JavaPlugin to use a file dependency to add classes dir to the test compile configuration - Removed unmanagedClasspath from Compile and Test tasks - Don't include file dependencies in generated POMs

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1566 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 20 more files in changeset.
  1. … 3 more files in changeset.
Merge branch '508'

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1540 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +3
    ./org/gradle/version.properties
  1. … 3 more files in changeset.
GRADLE-396 Use verbs for task names. Removed the sharing of constants for task and configuration names. Renamed constants.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1361 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 26 more files in changeset.
GRADLE-449 Support JAVA_OPTS in the gradle and gradlew scripts.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1358 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 7 more files in changeset.
- Changed various tasks to use a FileCollection instead of Configuration - Changed various groovy tasks to use a FileCollection for the groovy classpath

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1342 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 12 more files in changeset.
test option improvements

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1234 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 19 more files in changeset.