commonTest

Static accessor for shared kotlin Source Set between all declared targets. Declare at least one of the targets mentioned above to access this source set. If no targets were declared, accessing this source set will cause a runtime error during configuration time.

Sample:

kotlin {
jvm()
iosX64()

sourceSets {
commonTest.dependencies {
// Add commonTest dependencies here
}
}
}

Since

1.9.20