2 questions:
1) why is it hard to find current examples that use Gradle Kotlin DSL ?
2) I must be missing something , but I cannot seem to find any Kotlin JS examples that work with latest Gradle (ok, found one: https://github.com/eggeral/kotlin-single-js-file-lib )
I could have completely missed something, but any current links would be appreciated.
Thanks!
m
Mike
03/21/2019, 10:24 PM
Gradle kotlin dsl only reached 1.0 with release of gradle 5.0. Only a few months old. Many people are very happy with groovy dsl and many examples.
I expect to see more examples now that Kotlin dsl is 1.0 and therefore stable.
d
Dico
03/22/2019, 5:06 AM
I use gradle kotlin DSL for everything. I think gradle sucks and I think groovy sucks more. 😅
Sadly I have few open source projects but if I see your question I can probably answer it
m
Mike
03/22/2019, 1:03 PM
Wow! Totally unnecessary commentary. I know you said it's your opinion, but still... Groovy is an amazing language too, and several ideas/concepts in kotlin come directly from Groovy. Depending on your needs, groovy is the Superior language. I have used, and highly respect, groovy but prefer kotlin for jvm backend work.
d
Dico
03/22/2019, 1:09 PM
Well, I'm allowed to cast my opinion, and I disagree on groovy. I don't like the way it's dynamic and I don't like the way it is implemented, given what I've seen. So I will not use groovy.
But I can appreciate that you have a different view point.
Like I said, if you run into questions related to gradle kotlin DSL, I might be able to help, as could a number of other people here I'm sure, so ask away
Ah, my bad, you're not the OP
As for gradle, I might be a little bit unfair towards it given my experiences are influenced by bugs in JetBrains plugins, which is not always obvious. And the problems I have with it frequently are acceptable given that I tend to use experimental kotlin features.
d
ddlucas
03/22/2019, 4:00 PM
I just expected some of the JetBrains Kotlin examples with Gradle to include examples with Kotlin DSL, I found what I needed from the link I provided, thanks for the feedback.
m
Mike
03/24/2019, 1:02 AM
@Dico Just for clarity, I definitely agree everyone should have their opinion.
Your followup statement was an opinion (don’t like dynamic etc). This can be discussed and others can see where you’re coming from.
Your earlier one was a condemnation of an entire community/language (Gradle sucks and Groovy sucks more). That leaves no room for discussion.
Does that help explain my perspective, and concern with your earlier statements?