Our new Declarative Gradle site is live for those ...
# gradle
o
Our new Declarative Gradle site is live for those interested. It includes initial documentation, contributor and getting started guides and all the references 🚀 https://declarative.gradle.org/
K 5
gradle intensifies 1
m
If the DSL is based on Kotlin, how is it declarative? It's very unclear what makes this not just yet another same-but-different Gradle "DSL". Note that Amper uses YAML which is clearly different to Kotlin and can be parsed instantly, whereas compiling any Kotlin DSL is quite slow.
o
In this case, it is rather a DSL inspired by Kotlin; it is not a full Kotlin implementation and a bunch of idiomatic syntax sugar on the top of it. The idea is to actually make it simpler and domain-specific on the top definition level. Whether it is Declarative or not is to be seen. But yeah, the new DSL makes steps towards that by basically removing the concept of tasks and dependencies between them from the representation level
e
The DSL is its own language and the syntax is a strict subset of the Kotlin one.