build.gradle 1011 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 29
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. lintOptions {
  20. abortOnError false
  21. }
  22. }
  23. dependencies {
  24. androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
  25. exclude group: 'com.android.support', module: 'support-annotations'
  26. })
  27. testImplementation 'junit:junit:4.12'
  28. api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.10"
  29. api 'androidx.annotation:annotation:1.0.0'
  30. api 'com.github.hyb1996:settingscompat:1.1.5'
  31. api 'androidx.appcompat:appcompat:1.1.0'
  32. }