build.gradle 844 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "31.0.0-rc3"
  5. defaultConfig {
  6. minSdkVersion 14
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. androidTestImplementation('androidx.test.espresso:espresso-core:3.3.0-alpha02', {
  22. exclude group: 'com.android.support', module: 'support-annotations'
  23. })
  24. testImplementation 'junit:junit:4.12'
  25. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  26. }