Closed MariusSp closed 7 months ago
Hello @MariusSp,
spring-view-component-jte
currently supports both Kotlin and Java. For this both dependencies are needed.
We would need to publish an additional spring-view-component-kte
dependency I think.
I think the dependency structure can be improved immensely, if you are up to it I gladly welcome your Pull Request!
Greetings Thomas
I opened a pull request with an proposal. Let me know your opinion, not sure if this is the right way.
Unfortunately I don't have any gradle experience... So no improvements in that departement...
A revised structure might be helpful. The HTMX stuff could be extracted to its own module/extension, too.
@MariusSp
Thank you! I will take a look tomorrow!
Yes I was also thinking about extracting the HTMX stuff also but it's a lot of work to make it really modular.
I setup a Java project with JTE for templating.
spring-view-component-jte
pulls injte
ANDjte-kotlin
. The latter includeskotlin-compiler-embeddable
.This increases the size of a fat jar drastically (+57MB).
Is this necessary for pure Java projects? I'm not familiar with the Kotlin cosmos and at least JTE seems to have a standalone Java version.