build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from: "config.gradle"
  3. buildscript {
  4. ext.kotlin_version = '1.6.20-RC2'
  5. repositories {
  6. jcenter()
  7. google()
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:7.1.2"
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
  14. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // add plugin
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. /*maven { url 'http://esri.bintray.com/arcgis' }*/
  20. maven {
  21. allowInsecureProtocol = true
  22. url 'http://maven.aliyun.com/nexus/content/groups/public/' }//阿里云镜像服务
  23. maven { url 'https://esri.jfrog.io/artifactory/arcgis' } //arcgis镜像服务
  24. //maven { url 'https://esri.bintray.com/arcgis' }
  25. maven { url 'https://jitpack.io' }
  26. //maven { url 'https://maven.google.com/' }
  27. //mavenCentral()
  28. //jcenter()
  29. google()
  30. }
  31. }
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }