[英]Cannot resolve external dependency org.jetbrains.kotlin:kotlin-sam-with-receiver:1.5.31 because no repositories are defined
嘗試添加 buildSrc 來管理依賴項時出現以下錯誤:評估任務“:buildSrc:compileKotlin”的屬性“filteredArgumentsMap”時出錯
添加這個
repositories{
mavenCentral()
}
在build.gradle.kts
文件中plugins塊解決。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.