Why am I getting this error in android studio dsl ...
# android
s
Why am I getting this error in android studio dsl file?
Unresolved reference: getKotlinPluginVersion
a
Are you using
getKotlinPluginVersion
? 😛
s
yes, what’s the most appropriate option to get the kotlin version in the gradle DSL?
a
Make it a constant somewhere and use that in the classpath and the dependencies and wherever else you'd like.