hi, I have a weird problem with dependencies resol...
# ktor
d
hi, I have a weird problem with dependencies resolution while using
auth
artifact. This is my build.gradle
Copy code
plugins {
    id 'java'
    id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}

apply plugin: 'java'

repositories {
    jcenter()
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
    def ktor_version = '1.3.0'
    implementation "io.ktor:ktor-client-okhttp:$ktor_version"
    implementation "io.ktor:ktor-client-gson:$ktor_version"
    implementation "io.ktor:ktor-client-auth:$ktor_version"
    implementation "io.ktor:ktor-client-logging:$ktor_version"
}

compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
and I am trying to use Basic authentication when making a request from the client but
import io.ktor.client.features.auth.Auth
is not resolved in the IDEA even though I can see it in external libraries in the project structure. I thought that it can be related with gradle version, but I’ve updated to 6.1.1 and nothing changed
Looks like using artifact
"io.ktor:ktor-client-auth-jvm:$ktor_version"
helps but is it necessary?