Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to generate the common directory layout #3

Open
forseti opened this issue Oct 14, 2018 · 1 comment
Open

Allow to generate the common directory layout #3

forseti opened this issue Oct 14, 2018 · 1 comment

Comments

@forseti
Copy link

forseti commented Oct 14, 2018

Hi there,

Is there a way we can generate the common directory layout? (eg: src/main/kotlin, src/main/resources, src/test/kotlin, src/test/resources)

Maybe using checkbox? [x] Use standard/maven directory layout

Thanks!!

@bladnor
Copy link

bladnor commented Mar 5, 2019

I did not see such a checkbox so far. What I did was this:
In the build.gradle.kts (generated by the ktor plugin in intellj) I changed sourceSets to this:

kotlin.sourceSets["main"].kotlin.srcDirs("src/main/kotlin")
kotlin.sourceSets["test"].kotlin.srcDirs("src/test/kotlin")

sourceSets["main"].resources.srcDirs("src/main/resources")
sourceSets["test"].resources.srcDirs("src/test/resources")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants