build.gradle 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 32
  6. defaultConfig {
  7. applicationId "com.drinkertea.test2smack"
  8. minSdk 21
  9. targetSdk 32
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. buildFeatures {
  25. viewBinding true
  26. }
  27. }
  28. dependencies {
  29. implementation "org.igniterealtime.smack:smack-android:4.4.0"
  30. // Optional for XMPPTCPConnection
  31. implementation "org.igniterealtime.smack:smack-tcp:4.4.0"
  32. // Optional for XMPP-IM (RFC 6121) support (Roster, Threaded Chats, …)
  33. implementation "org.igniterealtime.smack:smack-im:4.4.0"
  34. // Optional for XMPP extensions support
  35. implementation "org.igniterealtime.smack:smack-extensions:4.4.0"
  36. implementation 'com.github.Piashsarker:AndroidAppUpdateLibrary:1.0.4'
  37. implementation 'androidx.appcompat:appcompat:1.4.2'
  38. implementation 'com.google.android.material:material:1.6.1'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  40. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
  41. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
  42. implementation 'androidx.navigation:navigation-fragment:2.4.2'
  43. implementation 'androidx.navigation:navigation-ui:2.4.2'
  44. testImplementation 'junit:junit:4.13.2'
  45. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  46. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  47. }
  48. configurations {
  49. all*.exclude group: 'xpp3', module: 'xpp3'
  50. }