build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 30
  6. defaultConfig {
  7. applicationId "me.yoqi.android.jkbd"
  8. minSdk 21
  9. targetSdk 30
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(include: ['*.jar'], dir: 'libs')
  27. implementation 'androidx.appcompat:appcompat:1.2.0'
  28. implementation 'com.google.android.material:material:1.3.0'
  29. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  30. testImplementation 'junit:junit:4.+'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  33. // androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  34. // exclude group: 'com.android.support', module: 'support-annotations'
  35. // })
  36. implementation 'com.squareup.okhttp3:okhttp:3.8.1'
  37. implementation 'com.squareup.okio:okio-parent:1.13.0'
  38. implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.8.1'
  39. implementation 'com.google.code.gson:gson:2.8.1'
  40. implementation 'com.squareup.picasso:picasso:2.5.2'
  41. implementation 'com.jakewharton:butterknife:8.6.0'
  42. annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
  43. }