Не импортируется ktor в модуль shared kmm, Android Studio
Пытаюсь использовать ktor для проекта с kmm. Сделал все по документации, но в модуле commonMain я не могу
импортировать библиотеки, связанные с ktor (unresolved reference). Ребилдить пробовал. Шаблон kmm из плагина kmm. Инклюд shared в MyApplication присутствует:

Модуль gradle:shared
sourceSets {
commonMain{
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1")
implementation("io.ktor:ktor-client-core:1.5.1")
implementation("io.ktor:ktor-client-serialization:1.5.1")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
val androidMain by getting {
dependencies {
implementation("com.google.android.material:material:1.2.1")
implementation("io.ktor:ktor-client-android:1.5.1")
}
}
val androidTest by getting {
dependencies {
implementation(kotlin("test-junit"))
implementation("junit:junit:4.13")
}
}
val iosMain by getting {
dependencies {
implementation("io.ktor:ktor-client-ios:1.5.1")
}
}
val iosTest by getting
}
