add maven repository to build.gradle

后端 未结 5 1877
独厮守ぢ
独厮守ぢ 2020-11-30 19:30

I added a custom maven repository to build.gradle in Android Studio but the dependency is not being found

Maven repository and dependency



        
5条回答
  •  爱一瞬间的悲伤
    2020-11-30 19:48

    You will need to define the repository outside of buildscript. The buildscript configuration block only sets up the repositories and dependencies for the classpath of your build script but not your application.

提交回复
热议问题