build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'kotlin-kapt'
  5. apply plugin: 'com.github.dcendents.android-maven'
  6. group = 'com.gitlab.liangjingkanji'
  7. android {
  8. compileSdkVersion 29
  9. buildToolsVersion "29.0.2"
  10. defaultConfig {
  11. minSdkVersion 19
  12. targetSdkVersion 29
  13. versionCode 1
  14. versionName "1.0"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. consumerProguardFiles 'consumer-rules.pro'
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. implementation 'androidx.appcompat:appcompat:1.1.0'
  28. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  29. testImplementation 'junit:junit:4.12'
  30. androidTestImplementation 'androidx.test:runner:1.2.0'
  31. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  32. api 'com.yanzhenjie:okalle:0.1.7'
  33. compileOnly 'com.github.liangjingkanji:BRV:1.1.6'
  34. compileOnly 'com.github.bumptech.glide:glide:4.9.0'
  35. compileOnly 'io.reactivex.rxjava2:rxkotlin:2.3.0'
  36. compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1'
  37. }