I’m currently organizing all my dependencies in a ...
# android
k
I’m currently organizing all my dependencies in a
Dependencies.kt
file in
buildSrc
. In this file i’ve declared my androidGradlePlugin dependency
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-alpha06"
These values are recognized in my module level build.gradle files but trying to add it to my project level build.gradle.kts file, the import is unresolved. Is it not possible for the project-level gradle file to pull these dependency strings from buildSrc?
Copy code
project level build.gradle.kts

dependencies {
        classpath(Libs.androidGradlePlugin)
}
1
p
have you tried importing them and resync ?
k
Yeah I got it after deleting build folders and clearing cache. Artic Fox has been giving me issues lately 🤷