This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
0.2.1
Pre-release
Pre-release
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 packagesorg.gradle.script.lang.kotlin
andorg.gradle.api.plugins
are now also imported by default intobuildscript
blocks making all usual extensions and types available everywhere in Kotlin-based Gradle build scripts. - Types defined in
buildSrc
(#38). Types defined inbuildSrc
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 explicitServiceRegistry
access (to be removed soon from the SPI).