build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. }
  25. dependencies {
  26. implementation "org.igniterealtime.smack:smack-android:4.4.0"
  27. // Optional for XMPPTCPConnection
  28. implementation "org.igniterealtime.smack:smack-tcp:4.4.0"
  29. // Optional for XMPP-IM (RFC 6121) support (Roster, Threaded Chats, …)
  30. implementation "org.igniterealtime.smack:smack-im:4.4.0"
  31. // Optional for XMPP extensions support
  32. implementation "org.igniterealtime.smack:smack-extensions:4.4.0"
  33. implementation 'com.github.Piashsarker:AndroidAppUpdateLibrary:1.0.4'
  34. implementation 'androidx.appcompat:appcompat:1.4.2'
  35. implementation 'com.google.android.material:material:1.6.1'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  37. testImplementation 'junit:junit:4.13.2'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  40. }
  41. configurations {
  42. all*.exclude group: 'xpp3', module: 'xpp3'
  43. }