build.gradle 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 30
  5. buildToolsVersion "30.0.0"
  6. defaultConfig {
  7. applicationId "com.jyc.threegames"
  8. minSdkVersion 21
  9. targetSdkVersion 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(dir: "libs", include: ["*.jar"])
  27. implementation 'androidx.appcompat:appcompat:1.1.0'
  28. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  29. implementation 'androidx.preference:preference:1.1.0'
  30. testImplementation 'junit:junit:4.12'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  33. implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
  34. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  35. implementation 'com.squareup.retrofit2:retrofit:2.5.0'
  36. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  37. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
  38. implementation 'com.squareup.retrofit2:converter-scalars:2.5.0'
  39. implementation 'com.squareup.okhttp3:okhttp:3.14.1'
  40. implementation 'com.jakewharton:butterknife:10.1.0'
  41. annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
  42. implementation 'com.github.sephiroth74:NumberSlidingPicker:v.1.1.1'
  43. implementation 'org.greenrobot:eventbus:3.2.0'
  44. implementation 'com.orhanobut:logger:2.2.0'
  45. }