build.gradle 971 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. namespace 'com.ble.mylockview'
  6. compileSdk 33
  7. defaultConfig {
  8. minSdk 21
  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. buildFeatures {
  23. buildConfig true
  24. }
  25. }
  26. dependencies {
  27. implementation 'androidx.appcompat:appcompat:1.7.1'
  28. implementation 'com.google.android.material:material:1.13.0'
  29. testImplementation 'junit:junit:4.13.2'
  30. androidTestImplementation 'androidx.test.ext:junit:1.3.0'
  31. androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
  32. }