Join Slack
Menu
Home
Archive
I am trying to include dependencies from buildSrc but I am getting the error to apply buildSrc as a ...
# gradle
i
iamraghavawasthi
02/16/2022, 6:50 AM
I am trying to include dependencies from buildSrc but I am getting the error to apply buildSrc as a module dependency
iamraghavawasthi
02/16/2022, 6:51 AM
build.gradle.kts file
iamraghavawasthi
02/16/2022, 6:56 AM
It is apparently not recognizing the buildSrc as a Kotlin DSL
v
Vampire
02/16/2022, 10:14 AM
Where is the first screenshot from? If it tells you to add
buildSrc
as a module dependency, that sounds like you use it in the actual project code, not in a build script. Btw. you should have a look at version catalogs feature:
https://docs.gradle.org/current/userguide/platforms.html
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by