+1 to buildSrc. This is the most correct and the o...
# gradle
g
+1 to buildSrc. This is the most correct and the only really type safe way (also recommended by migration guide https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/)