Christopher Mederos
03/05/2025, 3:32 AMkotlin {
...
configAsKobwebApplication("myapp", includeServer = true)
sourceSets {
...
jvmMain.dependencies {
compileOnly(libs.kobweb.api)
}
}
}
What's the process for adding a BE jvm target? I made these suggested changes in the site/build.gradle.kts configuration - yet no source sets are generated for jvmMain after syncing & running kobweb again. Am I missing something?David Herman
03/05/2025, 3:43 AMkobweb create examples/todo
and see if that works for you if you open it upChristopher Mederos
03/05/2025, 3:50 AMexamples/todo
. Just curious if the build script is meant to add the jvm sources when starting from the default project?David Herman
03/05/2025, 3:51 AMDavid Herman
03/05/2025, 3:52 AMkobweb create app/empty
it will put a file stub in for you so that folders will get createdDavid Herman
03/05/2025, 3:52 AMDavid Herman
03/05/2025, 3:54 AMsrc
folder and choose Create Directory, it should include an option for jvmMainChristopher Mederos
03/05/2025, 3:56 AMDavid Herman
03/05/2025, 4:06 AM