Which Gradle is better? Kts or dcl
# declarative-gradle
k
Which Gradle is better? Kts or dcl
m
I love all my kids the same 😄 They're just different!
Declarative is the future but is less stable/less capable right now
v
We'll see. Once upon a time, the "Gradle Software Model" was the future. Now it's dead. :-D
🙌 1
💣 1
🙈 4
m
Oh no!
Don't want the kids to die so young 😅
😂 2
Also TIL "Gradle Software Model" 👀
v
Yes, exactly that. :-)
y
There is none. Just use what works in your context.
o
While we are going completely off-topic, some of the Gradle Software Model ideas keep living in the Provider API and the migration project. And the native part... uh oh
Which Gradle is better? Kts or dcl
For now, the recommendation is to use Kotlin DSL for all the production development. Tinkerers are welcome in Declarative Gradle, but it remains an experimental project with no guarantee of compatibility
v
What has that to do with the question? When that blog was written, Declarative Gradle was not even announced. 🙂
2
c
"which gradle is better" the blog post from android outlines pros and cons and also announces that its the default for android builds, so i thought it was relevant to the question. no?
v
It was about kts vs dcl. When that blog post was written, dcl did not even exist. The question was not kts vs Groovy 😉
c
oh jeez. my mind mustve just skipped over that entirely because ive never heard of dcl lmao. sorry!
😁 1
v