kotlin

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Polish `ClassLoaderHierarchyTest`

Put automatic generation of extension accessors behind feature flag

Due to the potential for build script compilation failures resulting

from unaccessible extension types or illegal extension names at the

moment, automatic accessors will only be generated if the project

property `org.gradle.script.lang.kotlin.accessors.auto` is set to

`"true"`.

See #235

  1. … 7 more files in changeset.
Ignore integration test temporarily

Test compatibility with Kotlin 1.0.6

Omit accessors for extensions with illegal names

See #235

  1. … 2 more files in changeset.
Accept unorthodox extension names

See #235

  1. … 1 more file in changeset.
Prove accessors are regenerated whenever the set of plugins change

See #235

Polish `AbstractIntegrationTest`

Introduce `operator fun <T> Closure<T>.invoke(*): T`

See #286

  1. … 1 more file in changeset.
Revert "Disable 1.0.x Kotlin plugin integration test"

This reverts commit 25f57a574cbac2e81628f9882c61ec6090726aaa.

  1. … 1 more file in changeset.
Automatically generate type-safe accessors for contributed extensions

See #235

  1. … 1 more file in changeset.
Make generated accessors visible to KotlinBuildScriptModel clients

See #234

  1. … 15 more files in changeset.
Use sealed class to define Gradle installation in model request

  1. … 3 more files in changeset.
Move away from deprecated `ref.javaClass` to `ref::class.java`

See #264

  1. … 7 more files in changeset.
Generate accessors for project extensions during `buildSrc` build

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

    • -0
    • +51
    ./org/gradle/script/lang/kotlin/accessors/KotlinTypeStringTest.kt
    • -0
    • +108
    ./org/gradle/script/lang/kotlin/accessors/ProjectSchemaTest.kt
  1. … 14 more files in changeset.
Check only `buildSrc.jar` file name for compatibility with Windows

Normalise line separators before attempting to lex the script

Resolves: #207, #227

  1. … 3 more files in changeset.
Adjust to change in `buildSrc` classpath behaviour

The buildSrc output is now included as a `buildSrc.jar`.

  1. … 1 more file in changeset.
:arrow_up: mockito-kotlin 1.2.0

  1. … 1 more file in changeset.
Adjust test case to changes in `PluginRequest`

Handle `HasImplicitReceiver` annotation via Kotlin compiler plugin

See #155

  1. … 15 more files in changeset.
Allow element creation via delegate provider

After considering a few different names for the delegate provider (`new`

/ `factory` / `builder` / `creator` / `creating`) I settled on

`creating`:

* it shares the same prefix with the element creation methods

(`create`) so it's arguably more discoverable

* it reads more like prose, specially when coupled with the type

tasks {

val deploy by creating(Copy::class) {

// ...

}

}

Resolves #35

  1. … 3 more files in changeset.
Revert "Invoke `create` instead of `maybeCreate` on container configuration"

This reverts commit 46ad76191795284e68ce40c11679df902ca91a49.

It turns out the correct behaviour is actually `maybeCreate`.

  1. … 1 more file in changeset.
Invoke `create` instead of `maybeCreate` on container configuration

For that is the behaviour of `NamedDomainObjectContainer#configure`.

See: #35

  1. … 1 more file in changeset.
Name lambda parameter for clarity

See #8

Add test case proving Action overloads are correctly selected

Resolves #8

Allow delegated property access to NamedDomainObjectCollection items

See: #35, #200

    • -0
    • +27
    ./org/gradle/script/lang/kotlin/PatternMatcher.kt
  1. … 2 more files in changeset.
Support convenient configuration of NamedDomainObjectContainers

See: #35, #200

  1. … 1 more file in changeset.
Polish top-level definitions, parameter lists and exceptions

* Separate top-level definitions by two lines

* Segregate visibility modifier of top-level definition to

its own line

* Prefer starting long parameter lists at the next line (more

sustainable in face of method renames)

* Remove unnecessary `Exception` suffix from class names

* Remove unnecessary prefixes from field names

* Use better name for exception variables

  1. … 38 more files in changeset.
Update test expectation after wrapper upgrade