build.gradle 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk = 36
  6. defaultConfig {
  7. minSdk = 28
  8. targetSdk = 36
  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).tap {
  25. configureEach {
  26. options.compilerArgs << "-Xlint:deprecation"
  27. options.compilerArgs << "-Xlint:unchecked"
  28. }
  29. }
  30. }
  31. }
  32. dependencies {
  33. // implementation 'androidx.appcompat:appcompat:1.6.1'
  34. // implementation 'com.google.android.material:material:1.8.0'
  35. // implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  36. // implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  37. implementation 'androidx.appcompat:appcompat:1.7.0'
  38. implementation 'com.google.android.material:material:1.12.0'
  39. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  40. implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
  41. // testImplementation 'junit:junit:4.+'
  42. // androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  43. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  44. implementation project(path: ':RAUtilsLibrary')
  45. }