build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 33
  6. defaultConfig {
  7. minSdkVersion 28
  8. targetSdkVersion 33
  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_11
  20. targetCompatibility JavaVersion.VERSION_11
  21. }
  22. namespace 'com.usai.commoneditorlib'
  23. gradle.projectsEvaluated {
  24. tasks.withType(JavaCompile) {
  25. // options.compilerArgs << "-Xlint:deprecation"
  26. // options.compilerArgs << "-Xlint:unchecked"
  27. }
  28. }
  29. }
  30. dependencies {
  31. implementation 'androidx.appcompat:appcompat:1.5.1'
  32. implementation 'com.google.android.material:material:1.7.0'
  33. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  34. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  35. // testImplementation 'junit:junit:4.+'
  36. // androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  37. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  38. implementation project(path: ':RAUtilsLibrary')
  39. }