build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdk= 36
  4. defaultConfig {
  5. minSdk = 28
  6. targetSdk = 36
  7. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  8. consumerProguardFiles "consumer-rules.pro"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. namespace = 'com.usai.redant.ralocationlib'
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_11
  19. targetCompatibility JavaVersion.VERSION_11
  20. }
  21. gradle.projectsEvaluated {
  22. tasks.withType(JavaCompile) {
  23. // options.compilerArgs << "-Xlint:deprecation"
  24. // options.compilerArgs << "-Xlint:unchecked"
  25. }
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: "libs", include: ["*.jar"])
  30. implementation 'androidx.appcompat:appcompat:1.6.1'
  31. testImplementation 'junit:junit:4.13.2'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  34. api project(':RAUtilsLibrary')
  35. api 'com.google.android.gms:play-services-location:21.0.1'
  36. }