build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. }
  21. externalNativeBuild {
  22. cmake {
  23. path "CMakeLists.txt"
  24. }
  25. }
  26. ndkVersion '23.0.7599858'
  27. }
  28. dependencies {
  29. implementation fileTree(include: ['*.jar'], dir: 'libs')
  30. implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'//1.1.0
  31. implementation 'com.google.android.material:material:1.1.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  33. testImplementation 'junit:junit:4.+'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  36. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  37. implementation 'com.alibaba:fastjson:1.1.55.android'
  38. }