You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. applicationId 'org.jitsi.meet'
  6. versionCode Integer.parseInt("${version}")
  7. versionName "1.9.${version}"
  8. minSdkVersion rootProject.ext.minSdkVersion
  9. targetSdkVersion rootProject.ext.targetSdkVersion
  10. ndk {
  11. abiFilters 'armeabi-v7a', 'x86'
  12. }
  13. packagingOptions {
  14. // The project react-native does not provide 64-bit binaries at the
  15. // time of this writing. Unfortunately, packaging any 64-bit
  16. // binaries into the .apk will crash the app at runtime on 64-bit
  17. // platforms.
  18. exclude '/lib/mips64/**'
  19. exclude '/lib/arm64-v8a/**'
  20. exclude '/lib/x86_64/**'
  21. }
  22. }
  23. buildTypes {
  24. debug {
  25. minifyEnabled true
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-debug.pro'
  27. }
  28. release {
  29. minifyEnabled true
  30. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro'
  31. }
  32. }
  33. compileOptions {
  34. sourceCompatibility JavaVersion.VERSION_1_8
  35. targetCompatibility JavaVersion.VERSION_1_8
  36. }
  37. }
  38. dependencies {
  39. compile fileTree(dir: 'libs', include: ['*.jar'])
  40. compile 'com.android.support:appcompat-v7:22.2.0'
  41. compile 'com.google.android.gms:play-services-auth:15.0.0'
  42. implementation project(':sdk')
  43. debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
  44. releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
  45. }
  46. if (project.file('google-services.json').exists()) {
  47. apply plugin: 'com.google.gms.google-services'
  48. }