v0.10.2
版本发布时间: 2017-07-13 03:18:38
gradle/kotlin-dsl-samples最新发布版本:v1.1.3(2019-01-29 18:57:52)
Gradle Kotlin DSL 0.10.2 Release Notes
Gradle Kotlin DSL v0.10.2 is a minor update to v0.10.1 including a fix to an issue surfaced by the integration into the Gradle 4.1 release branch.
v0.10.2 is expected to be included in the upcoming Gradle 4.1.
The features in this release are also available for immediate use within the latest Gradle Kotlin DSL distribution snapshot. 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-kotlin-dsl-4.1-20170712173431+0000-all.zip
Updates since v0.10.1
- Accessors for extensions with types not available to the build script (#416). It is possible to register project extensions using types that won't necessarily be available on every project's build script compilation classpath. This is the case for plugins injected via init scripts, for example. In v0.10.1, the interaction of such extensions with the automatic generation of Kotlin code that enables statically typed access to project extension would cause build failures due to the unresolved type references. In v0.10.2, accessors for extensions with inaccessible types will carry documentation clearly stating so and have their types erased so they can be compiled successfully.