casid / jte-intellij

IntelliJ plugin for jte template files.
https://github.com/casid/jte
Apache License 2.0
23 stars 5 forks source link

FR/Question: make Kotlin plugin dependency optional #47

Closed woj-tek closed 2 months ago

woj-tek commented 6 months ago

Hi, (there is no "discussion" section hence creating an issue)

Would it be possible to make Kotlin dependency optional? I'm not really using it and while trying to make IDEA go a bit easier on resources I notice that jte plugin (200K) required Kotlin plugin (150M).

casid commented 2 months ago

Thanks for the suggestion. I believe this would require two different plugins, I guess? Unfortunately, I don't have much time maintaining the plugin and maintaining two would be too much for me I fear.

Currently upgrading to the 2.0 version of the intellij gradle plugin and it is quite a pain ^^

woj-tek commented 2 months ago

I believe this would require two different plugins, I guess?

From the quick search - I haven't found "optional plugin dependency" i.e. if there is a plugin enabled it would be used otherwise not so yeah... probably two plugins :(

Unfortunately, I don't have much time maintaining the plugin and maintaining two would be too much for me I fear.

I was pondering if could be done somehow with modules but I'm not very fluent with gradle (and try to stear clear of it as much as possible) :D From my Android experience it's possible to create various output flavours?

Just for fun I got the sources, stripped out Kotlin out of it, installed it (it updated the plugin) and it works without Kotlin being enabled :D

Currently upgrading to the 2.0 version of the intellij gradle plugin and it is quite a pain ^^

:(