build.gradle 930 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.6.10'
  4. ext.djisdk_version = '5.5.0'
  5. ext.arcgissdk_version = '100.8.0'
  6. repositories {
  7. google()
  8. jcenter()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:4.2.2'
  12. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. google()
  20. jcenter()
  21. /* 添加ArcGIS For Android 依赖 */
  22. mavenCentral()
  23. maven {
  24. url 'https://esri.jfrog.io/artifactory/arcgis'
  25. }
  26. maven {
  27. url 'https://jitpack.io'
  28. }
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }