Hi. I currently have an existing ktor project that...
# getting-started
r
Hi. I currently have an existing ktor project that I wan't to split in one main project and 3 modules. I tried to add source sets to the gradle build and tried to follow different tutorials from around the web but none worked for me. What I primarily want is to have different Kotlin modules that only publish their public API's and that those public API's can be consumed by the main program. Something like a maven setup that supports Java modules.
j
You shouldn’t create other sourceSets. You should create a multi-project build, where each of your “modules” is a gradle project. See https://docs.gradle.org/current/userguide/multi_project_builds.html
👀 1