build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. // namespace 'redant.usai.com.apexmap'
  6. compileSdkVersion 33
  7. defaultConfig {
  8. minSdk 28
  9. targetSdkVersion 33
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  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_11
  20. targetCompatibility JavaVersion.VERSION_11
  21. }
  22. buildFeatures {
  23. viewBinding true
  24. }
  25. gradle.projectsEvaluated {
  26. tasks.withType(JavaCompile) {
  27. // options.compilerArgs << "-Xlint:deprecation"
  28. // options.compilerArgs << "-Xlint:unchecked"
  29. }
  30. }
  31. }
  32. dependencies {
  33. implementation fileTree(dir: 'libs', include: ['*.jar'])
  34. implementation 'androidx.appcompat:appcompat:1.5.1'
  35. // testImplementation 'junit:junit:4.12'
  36. // androidTestImplementation 'com.android.support.test:runner:1.0.2'
  37. // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  38. api 'org.osmdroid:osmdroid-android:6.1.14'
  39. }