From 6c5d60f094b185d39f386a52c945bf4d2ed94f1a Mon Sep 17 00:00:00 2001 From: "Rodrigo B. de Oliveira" Date: Tue, 11 Sep 2018 15:49:25 -0300 Subject: [PATCH] Upgrade Kotlin DSL to 1.0-RC6 --- .../main/kotlin/org/gradle/gradlebuild/build-environment.kt | 2 +- subprojects/docs/src/docs/release/notes.md | 6 +++--- subprojects/docs/src/docs/release/release-features.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt b/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt index 058f344e1a23..d0fb09179b5c 100644 --- a/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt +++ b/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt @@ -6,7 +6,7 @@ import org.gradle.internal.os.OperatingSystem object BuildEnvironment { val isCiServer = "CI" in System.getenv() - val gradleKotlinDslVersion = "1.0-rc-5" + val gradleKotlinDslVersion = "1.0-rc-6" val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.current() val isWindows = OperatingSystem.current().isWindows diff --git a/subprojects/docs/src/docs/release/notes.md b/subprojects/docs/src/docs/release/notes.md index 9e1723fb279d..3b92c1f584fb 100644 --- a/subprojects/docs/src/docs/release/notes.md +++ b/subprojects/docs/src/docs/release/notes.md @@ -6,7 +6,7 @@ This will result in significantly reduced Java compilation time in subsequent bu Chances are caches in those `.gradle/` directories have accumulated a few (or a few dozen) gigabytes over time. If so, you'll be relieved to know that Gradle will now [periodically clean up unused `/caches`](#periodic-cache-cleanup) under `GRADLE_USER_HOME` and project root directories. -A moment you have anticipated is nearly here, as the [Kotlin DSL reaches version 1.0 RC5](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC5). +A moment you have anticipated is nearly here, as the [Kotlin DSL reaches version 1.0 RC6](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC6). Configuration avoidance, `buildSrc` refactoring propagation to the IDE, and lots of DSL polish make this the release to try. Gradle Kotlin DSL 1.0 will ship with the next version of Gradle, 5.0. Read [this blog post](https://blog.gradle.org/gradle-kotlin-dsl-release-candidate) for guidance on trying the Kotlin DSL and submitting feedback. @@ -54,7 +54,7 @@ Caching has always been one of the strong suits of Gradle. Over time, more and m ### Kotlin DSL 1.0 RC -[Kotlin DSL version 1.0 RC](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC5) is now available. Major updates from v0.18 include: +[Kotlin DSL version 1.0 RC](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC6) is now available. Major updates from v0.18 include: * API Documentation in IDE and reference forms * Script compilation build cache @@ -160,7 +160,7 @@ Previously it was located at `project.java.sourceSets`, or just `java.sourceSets All these changes could cause script compilation errors. -See the [Gradle Kotlin DSL release notes](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC5) for more information and how to fix builds broken by the changes described above. +See the [Gradle Kotlin DSL release notes](https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC6) for more information and how to fix builds broken by the changes described above. ### Restricting cross-configuration and lifecycle hooks from lazy configuration APIs diff --git a/subprojects/docs/src/docs/release/release-features.txt b/subprojects/docs/src/docs/release/release-features.txt index 653774d7b058..91f9eb2f558e 100644 --- a/subprojects/docs/src/docs/release/release-features.txt +++ b/subprojects/docs/src/docs/release/release-features.txt @@ -1,5 +1,5 @@ - Incremental Java compilation by default - Periodic Gradle caches cleanup - - Gradle Kotlin DSL 1.0-RC5 + - Gradle Kotlin DSL 1.0-RC6 - Nested included builds - SNAPSHOT plugin versions in the `plugins {}` block