ktor-init-tools icon indicating copy to clipboard operation
ktor-init-tools copied to clipboard

Generator does not follow typical project structure.

Open ThanosFisherman opened this issue 3 years ago • 2 comments

Both http://start.ktor.io/ and IntelliJ plugin generators do not adhere to the typical Gradle project structure e.g

ktor-app/src/(main, test)/(kotlin, resources)

Rather I see a somewhat unfamiliar layout where the resources directory is located at the root of the project and there is also no main and test directories inside the src folder.

Why this design choice? Could you please include a checkbox for those who need (prefer) the typical default directory structure?

ThanosFisherman avatar Jul 27 '20 12:07 ThanosFisherman

Agreed with @ThanosFisherman, really confusing, especially if you have gradle multi project structure with different modules, generated for different frameworks, e.g. spring.

rsolmano avatar Sep 16 '20 06:09 rsolmano

I just noticed there is this duplicate issue #3 from 2018 but still no reply from Ktor devs :(

ThanosFisherman avatar Oct 28 '20 11:10 ThanosFisherman