build.gradle 1014 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. lint {
  23. baseline = file("lint-baseline.xml")
  24. }
  25. namespace 'org.eclipse.paho.client.mqttv3'
  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. }