Kotlin DSL Unresolved reference on settings.gradle.ktl
问题 I am getting an unresolved reference build error on settings.gradle.kts when I am referencing variables from the buildSrc module. The strange thing is that when I am using the variables from buildSrc, for example to the app level build.gradle.kts, everything works fine. Also the error occurs only when I build/sync and I am not getting that error(red highlights) on the text editor and the navigation to that variable works fine. Attached you find an image with the setup, thanks a lot. Edit: