build.gradle 820 B

123456789101112131415161718192021222324252627282930
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 23
  4. buildToolsVersion "23.0.3"
  5. defaultConfig {
  6. minSdkVersion 16
  7. targetSdkVersion 23
  8. versionCode 1
  9. versionName "1.0"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. compile fileTree(include: ['*.jar'], dir: 'libs')
  20. compile 'com.android.support:appcompat-v7:23.4.0'
  21. compile 'com.facebook.react:react-native:+'
  22. // version from maven https://search.maven.org/#search%7Cga%7C1%7Ccom.amap.api
  23. compile 'com.amap.api:3dmap:5.7.0' //3d 地图
  24. compile 'com.amap.api:location:3.5.0' //定位
  25. compile 'com.amap.api:search:5.3.1' //搜索
  26. }