build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 31
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 31
  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_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. }
  23. dependencies {
  24. implementation fileTree(dir: 'libs', include: ['*.jar'])
  25. implementation files('libs/core-3.3.0.jar')
  26. implementation 'androidx.appcompat:appcompat:1.4.1'
  27. implementation 'com.google.android.material:material:1.5.0'
  28. testImplementation 'junit:junit:4.13.2'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  31. }