build.gradle 924 B

1234567891011121314151617181920212223242526272829303132333435
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. namespace 'com.cjt2325.cameralibrary'
  6. compileSdk 34
  7. defaultConfig {
  8. minSdk 24
  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. }
  23. dependencies {
  24. implementation 'androidx.appcompat:appcompat:1.7.0'
  25. implementation 'com.google.android.material:material:1.12.0'
  26. testImplementation 'junit:junit:4.13.2'
  27. androidTestImplementation 'androidx.test.ext:junit:1.2.1'
  28. androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
  29. }