streem/pbandk

Unable to import a module in commonMain

Closed this issue · 0 comments

C7ABT commented

Hello, I've implementated kotlinPoet into build.gradle.kts under protoc-gen-pbandk / lib as followed.
` sourceSets {

    val commonMain by getting {
        dependencies {
            implementation(project(":pbandk-runtime"))
            implementation("com.squareup:kotlinpoet:${Versions.kotlinPoet}")
        }
    }
 }`

However, when I tried to import kotlinPoet into CodeGenerator.kt, Android Studio just failed to recognize it and underlined it with a red line.