build.gradle.kts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Let all samples use configuration avoidance APIs and DSL

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

  1. … 23 more files in changeset.
Move extra props nullability mismatch test case to an integration test

  1. … 2 more files in changeset.
Restore extra properties type info & allow nullability

Optional extra properties can now be expressed via nullability of the

property type.

val name by extra { null } // creates null extra property

val name: String by extra // throws NPE on property usage

val name: String? by extra // works as expected

This commit enhances the `extra-properties` sample to demonstrate this.

See #512

  1. … 3 more files in changeset.
Take advantage of `extra` property initializers

See #307

  1. … 1 more file in changeset.
Take advantage of extra delegated properties

See #195

  1. … 1 more file in changeset.
Favor implicit import statements where possible

With the resolution of issues #33 and #57, members declared in the

following packages are now imported implicitly in all Kotlin-based

Gradle build scripts:

- org.gradle.api.plugins

- org.gradle.script.lang.kotlin

This commit removes all explicit declarations of imports from these

packages across our sample projects.

  1. … 4 more files in changeset.
Remove explicit wrapper config from build scripts

In favor of simply modifying gradle/wrapper/gradle-wrapper.properties

directly.

  1. … 3 more files in changeset.
Upgrade wrappers to gradle-gsk-1.0.0-M1 distro

This distribution is not yet in place, but will be immediately following

the publication of v1.0.0-M1 of gradle-script-kotlin.

  1. … 6 more files in changeset.
Upgrade sample wrappers to latest demo distro

  1. … 5 more files in changeset.
Upgrade sample wrappers to latest demo distro

  1. … 8 more files in changeset.
Introduce `DomainObjectCollection.withType` extension

And use it in the samples to configure the `Wrapper` task.

  1. … 3 more files in changeset.
Add Gradle wrapper to samples

with distributionUrl set to (temporary) custom distribution at

https://repo.gradle.org/gradle/demo/demo.zip

  1. … 14 more files in changeset.
Rename demo to samples

  1. … 17 more files in changeset.