mahdi_perfect
03/11/2019, 11:58 AMtddmonkey
03/11/2019, 12:04 PMSean van Dijk
03/11/2019, 12:13 PMMike
03/11/2019, 12:31 PM-all
, and IntelliJ is darn close w/o the performance issues)
Just keep in mind that it does increase the learning curve on your project when someone new joins. If they don’t already know your stack, it’s less of an impact as they have to learn it all anyway, but for an experienced person…
It also makes it harder to create new code as all the examples won’t be in the DSL.
If you can create something really good AND get it as the default, then that’s a different story.gildor
03/11/2019, 12:44 PMMike
03/11/2019, 3:34 PM-all
version of wrapper rather than -bin
, then the experience is very similar. And I’ve been using Groovy DSL awhile so I’m comfortable with it. If all you’re doing is copy-paste, run and pray, then…
There’s no magic, it’s doing the same thing as the Kotlin one, and you can find information the same way.
I do agree the Kotlin one is reasonable, and I think with v1.0 of Kotlin DSL (was that Gradle 5?), it’s finally worth considering. Still some edge cases where plugins don’t cleanly support/work with it, but at least it’s usable, and improving with every release.
The Kotlin DSL also creates tight coupling with the version of Gradle you’re using. Groovy is more flexible in this regard…louiscad
03/12/2019, 2:16 PMAndroidManifest.xml
from Kotlin code, and I'd be even more interested in making a multiplatform text/string resources format that could be exported to Android xml resources, but also for other platforms with different conventions. multiplatform i18n and l10n! @mahdi_perfect If you want to discuss collaboration, we can talk about it in #dsl (or #kotlin_dsl?), we can open a new channel, or you can DM me.gildor
03/12/2019, 2:38 PMlouiscad
03/12/2019, 2:54 PM'
)! This is impractical to write, and I can't use them in multiplatform modules, nor in JVM modules.
What I want is simple: a way to write key and text without having to think about "oh, I need to escape this, oh, line breaks don't work, I need to use \n
, I'll have to copy paste all of this for that other platform and remove all the escaped apostrophes, oh, I forgot this…"
This has to change. I have better things to think about, and I'm willing to do the effort (preferrably with collaboration) to never have to think about it when it's done.gildor
03/12/2019, 3:12 PMlouiscad
03/12/2019, 10:28 PMgildor
03/12/2019, 11:04 PMlouiscad
03/13/2019, 1:03 PM