build.gradle 605 B

123456789101112131415161718192021222324252627282930
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.3"
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 29
  8. versionCode 7
  9. versionName "0.7"
  10. externalNativeBuild {
  11. cmake {
  12. arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=system'
  13. cppFlags '-std=c++11'
  14. }
  15. }
  16. }
  17. externalNativeBuild {
  18. cmake {
  19. path "src/main/cpp/CMakeLists.txt"
  20. }
  21. }
  22. }
  23. dependencies {
  24. implementation "androidx.annotation:annotation:1.1.0"
  25. }