build.gradle 1.5 KB

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