build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdk 33
  4. defaultConfig {
  5. minSdkVersion 28
  6. targetSdkVersion 33
  7. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  8. }
  9. buildTypes {
  10. release {
  11. minifyEnabled true
  12. zipAlignEnabled true
  13. // shrinkResources true
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  15. }
  16. }
  17. namespace 'redant.usai.com.racameralib'
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_11
  20. targetCompatibility JavaVersion.VERSION_11
  21. }
  22. gradle.projectsEvaluated {
  23. tasks.withType(JavaCompile) {
  24. // options.compilerArgs << "-Xlint:deprecation"
  25. // options.compilerArgs << "-Xlint:unchecked"
  26. }
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(include: ['*.jar'], dir: 'libs')
  31. implementation 'androidx.appcompat:appcompat:1.5.1'
  32. // testImplementation 'junit:junit:4.12'
  33. // androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  34. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  35. }