build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion COMPILE_SDK_VERSION
  6. buildToolsVersion BUILD_TOOLS_VERSION
  7. ndkVersion NDK_VERSION
  8. defaultConfig {
  9. minSdkVersion MIN_SDK_VERSION
  10. targetSdkVersion TARGET_SDK_VERSION
  11. // externalNativeBuild {
  12. // cmake {
  13. // cppFlags '-std=c++11 -frtti -fexceptions -lz'
  14. // abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
  15. // }
  16. // }
  17. }
  18. // packagingOptions {
  19. // exclude 'lib/arm64-v8a/libdolin-comm.so'
  20. // exclude 'lib/armeabi-v7a/libdolin-comm.so'
  21. // exclude 'lib/x86/libdolin-comm.so'
  22. // exclude 'lib/x86_64/libdolin-comm.so'
  23. // }
  24. buildTypes {
  25. release {
  26. minifyEnabled MINIFY_ENABLE
  27. proguardFiles 'proguard-rules.pro'
  28. }
  29. }
  30. buildFeatures {
  31. buildConfig = false
  32. }
  33. lintOptions {
  34. abortOnError false
  35. }
  36. repositories {
  37. flatDir {
  38. dirs 'libs'
  39. }
  40. }
  41. dexOptions {
  42. preDexLibraries = false
  43. }
  44. // externalNativeBuild {
  45. // cmake {
  46. // path "CMakeLists.txt"
  47. // }
  48. // }
  49. }
  50. dependencies {
  51. implementation project(':library_comm')
  52. }
  53. apply from: 'publish.gradle'
  54. apply from: 'buildJar.gradle'