build.gradle 992 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion cfgs.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion cfgs.minSdkVersion
  6. targetSdkVersion cfgs.targetSdkVersion
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation fileTree(dir: 'libs', include: ['*.jar'])
  20. implementation "androidx.appcompat:appcompat:${cfgs.appcompat_version}"
  21. testImplementation 'junit:junit:4.12'
  22. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  23. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  24. implementation "androidx.recyclerview:recyclerview:${cfgs.version_recyclerview}"
  25. }