<1.1.0> Gradle Kotlin DSL 1.1.0 Release Notes Grad...
# gradle
u
1.1.0 Gradle Kotlin DSL 1.1.0 Release Notes Gradle Kotlin DSL 1.1.0 brings Kotlin 1.3.11, support for Kotlin lambdas in the Gradle APIs, multiple fixes and enhancements for a better behavior in IntelliJ script dependency resolution, bug fixes in the kotlin-dsl plugin for build authors, selected type-safe accessors additions and better build-cache support. In order to benefit from the best user experience, please update IntelliJ IDEA to 2018.3.1, Android Studio to 3.2.1 and their Kotlin Plugin to...
G 4
K 4
🚀 2
c
For lambdas is it possible to use:
from { "compute/inputs/lazily" }
? ( Removing the parenthesis, because is the usual way in Kotlin )
e
Yes it is, except when there’s only a vararg taking function, like with
from(vararg)
. We’ll iron the underlying APIs for this in the next release.
👌 2
d
Does this mean that it works well in AS 3.2.1 now? I just asked this question and was told to use AS 3.3 rc, I don't need to switch @eskatos?
e
@dave08 see https://docs.gradle.org/release-candidate/userguide/upgrading_version_4.html
If you are using Gradle for Android, you need to move to version 3.3 or higher of both the Android Gradle Plugin and Android Studio.
5.0 should work fine with AS & AGP 3.3
d
So what does this mean:
In order to benefit from the best user experience, please update IntelliJ IDEA to 2018.3.1, Android Studio to 3.2.1 and their Kotlin Plugin to the latest 1.3.
?
When does it apply to not be using Gradle for Android in AS @eskatos?
e
Right, confusing. A typo I guess, let me fix that. Thanks for the heads up
👍🏼 2
@dave08 you can use Gradle for many things outside just Android (java, native, python, go, asciidoctor ... you name it)
d
Right, but in AS, most will be using it for Android 😉
The release notes were updated but the Slack app post still has 3.2.1... 🙃
🤷 1