i dont think that is what is causing it - there is...
# gradle
m
i dont think that is what is causing it - there is a
build.gradle.kts
in the directory that can't be compiled.
1
g
@mattinger I think I know what is wrong with your build script. You probably use builscript block to configure Android Gradle Plugin. In this case Kotlin/DSL doesn’t generate static accessors for dynamic Gradle stuff (like dependencies configurations). Please check this example: https://github.com/gradle/kotlin-dsl/blob/master/samples/hello-android/build.gradle.kts And especially settings.gradle (you need this configuration because Android Gradle Plugin not published to gradle plugins portal