build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 33
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion 33
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled true
  17. shrinkResources true
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_11
  23. targetCompatibility JavaVersion.VERSION_11
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. implementation 'androidx.appcompat:appcompat:1.6.1'
  29. implementation 'com.google.android.material:material:1.9.0'
  30. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  31. testImplementation 'junit:junit:4.13.2'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  34. }