build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.3"
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 29
  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-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. api "com.android.support:appcompat-v7:28.0.0"
  22. api "com.android.support:support-v4:28.0.0"
  23. api "com.android.support:design:28.0.0"
  24. api "com.android.support:recyclerview-v7:28.0.0"
  25. api "com.android.support.constraint:constraint-layout:1.1.3"
  26. api 'org.greenrobot:eventbus:3.2.0'
  27. testImplementation 'junit:junit:4.12'
  28. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  29. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  30. }