This message was deleted.
# plugin-development
s
This message was deleted.
a
Gradle has some Groovy/Kotlin interoperability support https://docs.gradle.org/8.3/userguide/kotlin_dsl.html#sec:interoperability, but I think it's quite limited and probably more difficult than wrapping your head around the Kotlin DSL :) Are you having trouble with something in particular?
👍 1
n
Not really a trouble, just trying to understand how interoperable the DSLs are in relation to the Gradle APIs we use when developing Gradle plugin
just curious, what is the pro of using kotlin DSL? Personally I feel that groovy DSL is easier to write and read as compared to Kotlin DSL.
a
better IDE support (specifically auto-completion) , and stricter type safety
depending on your POV those could also be viewed as negatives :)
n
ahhh I see, I am using VS code so maybe I can’t draw the full capabilities of Kotlin DSL
a
ah yeah, that could well be! Does VSCode have Groovy support?
it's another pro/con that Kotlin is very well supported by IntelliJ (pro: it's really good, con: it's another tool, which is annoying if you're not using it already)
n
VScode has official extensions from Gradle as of what I experience so far, the groovy support is good in VSC
My line of work don’t really involve development of Kotlin or Java applications At best, I am tasked to develop Java/Kotlin/Gradle plugins, hence why I stick to VSC. Even considered to go to neovim but takes a while to pickup. I heard many good things about IntelliJ IDE. Even when developing Kotlin compiler plugin, setting up a debugging env is easier using IntelliJ. Can’t say the same for VScode hahaha
a
I tried using VSCode for Java once and it wasn't fun 😬. The VSC Java extension created random files that were really annoying.
It might be worth installing IntelliJ just for the Gradle stuff? There's an IJ keymap that aims to mirror the VSC keymaps
n
I haven’t encounter any random files created by the java extension or maybe I didn’t really notice. Guess I better check
a
this was a few years ago so maybe it's fixed
or I installed a bad extension!
🤣 1
n
Hmmm I will consider IntelliJ sometime in the future. Because I am a Security Engineer so I don’t always deal with Kotlin Java codebase. sometimes Go, python, etc, hence the usage of VSCode
a
yeah, I do really like VSC - but only as a glorified text editor :). It's really cool that I can open a remote session on my home server and access all the files. But for coding I use IJ
v
It's really cool that I can open a remote session on my home server and access all the files
You can also do that with IntelliJ, can't you? 🙂
a
Ahh okay, I've not tried that. I generally try to avoid using IJ to open random directories (like I would with VSC) because it always creates an
.idea
dir
👌 1