build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 25
  6. defaultConfig {
  7. minSdkVersion 19
  8. targetSdkVersion 25
  9. versionCode 1
  10. versionName "1.0"
  11. externalNativeBuild {
  12. cmake {
  13. cppFlags ""
  14. }
  15. }
  16. ndk {
  17. abiFilters "armeabi-v7a" //armeabi-v7a 'arm64-v8a'
  18. }
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. externalNativeBuild {
  27. cmake {
  28. path "CMakeLists.txt"
  29. }
  30. }
  31. ndkVersion '23.0.7599858'
  32. }
  33. dependencies {
  34. implementation fileTree(include: ['*.jar'], dir: 'libs')
  35. implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'//1.1.0
  36. implementation 'com.google.android.material:material:1.1.0'
  37. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  38. testImplementation 'junit:junit:4.+'
  39. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  40. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  41. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  42. implementation 'com.alibaba:fastjson:1.1.55.android'
  43. }