Hi, what is the reason for having this kind of str...
# ktor
d
Hi, what is the reason for having this kind of structure for ktor samples, when you have resources folder at the top level along with src/? Compared to typical gradle project structure with resource inside of src/?
d
Simplify the directory structure and make it easier to navigate. With less folders, you can focus more on the code itself.
👍 2
d
I see, no inherent logic in ktor rely on this structure?
d
Nope, just some
build.gradle
sourceSets customizations
d
cool, cool 👍
e
Copy code
sourceSets {
    main.kotlin.srcDirs = [ 'src' ]
    main.resources.srcDirs = [ 'resources' ]
    test.kotlin.srcDirs = [ 'test' ]
    test.resources.srcDirs = [ 'testresources' ]
}