Home > OS >  Cannot resolve external dependency org.jetbrains.kotlin:kotlin-sam-with-receiver:1.5.31 because no r
Cannot resolve external dependency org.jetbrains.kotlin:kotlin-sam-with-receiver:1.5.31 because no r

Time:12-14

Trying to add buildSrc to manage dependencies getting the following error: Error while evaluating property 'filteredArgumentsMap' of task ':buildSrc:compileKotlin'

CodePudding user response:

Add this

 repositories{
        mavenCentral()
    }

in the build.gradle.kts file after the plugins block to solve.

  • Related