build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 32
  6. defaultConfig {
  7. minSdk 27
  8. targetSdk 32
  9. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  10. consumerProguardFiles "consumer-rules.pro"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. namespace 'org.eclipse.paho.android.service'
  23. lint {
  24. baseline = file("lint-baseline.xml")
  25. }
  26. }
  27. dependencies {
  28. implementation 'androidx.appcompat:appcompat:1.3.0'
  29. implementation 'com.google.android.material:material:1.4.0'
  30. testImplementation 'junit:junit:4.13.2'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  33. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  34. // implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.4'
  35. implementation project(path: ':libPaho')
  36. }