what does ```by getting``` mean in a gradlekt file...
# random
g
what does
Copy code
by getting
mean in a gradlekt file?
I dont get it though
g
Darn... still confusing, here is how I am using it and it works as expected just not sure what it is really doing
Copy code
kotlin {
    jvm("backend") // Creates a JVM target with the name 'backend'
    js("frontend") // Creates a JS target with the name 'frontend'

    sourceSets {
        val commonMain by getting {
            kotlin.srcDir("src/common/kotlin")
            resources.srcDir("src/common/resources")
            dependencies {
                implementation(kotlin("stdlib-common"))
            }
        }
d
Just in case you didn't know. There's a #gradle channel.
g
THanks