Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

0.2.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bamboo bamboo released this 11 Jul 22:06
· 3268 commits to master since this release
v0.2.1
505511f

General Notes

Gradle Script Kotlin v0.2.1 is an interim release meant to pave the way for the evolution of the org.gradle.configuration.ScriptPluginFactoryProvider SPI and as such it is incompatible with Gradle 3.0 M2.

The features in this release are only available for use within the latest Gradle Script Kotlin distribution nightly. To use it, upgrade your Gradle wrapper in the following fashion:

$ cd $YOUR_PROJECT_ROOT
$ gradle wrapper --gradle-distribution-url https://repo.gradle.org/gradle/kotlin-dsl-snapshots-local/gradle-script-kotlin-3.0.0-20160707200712+0000-all.zip

Updates since v0.2.0

  • Implicit imports for buildscript blocks (#90). Members of the commonly-used packages org.gradle.script.lang.kotlin and org.gradle.api.plugins are now also imported by default into buildscript blocks making all usual extensions and types available everywhere in Kotlin-based Gradle build scripts.
  • Types defined in buildSrc (#38). Types defined in buildSrc are now visible to Kotlin-based Gradle build scripts. Proper IDE integration for this feature is still under development.
  • Compliance with new ScriptPluginFactoryProvider SPI semantics (#87). The SPI now favors dependency injection over explicit ServiceRegistry access (to be removed soon from the SPI).