I would like to modularize my current Compose-Desktop project, but I'm not sure which type of modules I should choose (Java/Gradle/Kotlin/...) and I'm wondering if someone has a good example of what a
build.gradle.kts
file for a Compose-Desktop submodule would look like as well?
g
gildor
01/12/2021, 1:38 PM
Type of modules? You probably just need standard JVM module with Kotlin Gradle plugin (you still can use Java or Groovy plugins if you want, but not sure why you need fhis)
s
sigmadelta
01/12/2021, 3:12 PM
Alright thanks, I'll give it a try later on. I was mostly confused about the JVM modules as their description makes it seem as they're targetting the creation of new applications instead of rather just being a library module.
g
gildor
01/12/2021, 6:08 PM
application are not very different from libraries for JVM projects, application is just a jar with meta information about entry point (there is an application plugin in Gradle for this, but compose descktop has own implementation for it)