Bez popisu

build.gradle 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdkVersion 30
  7. buildToolsVersion "30.0.2"
  8. defaultConfig {
  9. applicationId "com.example.floradex20"
  10. minSdkVersion 22
  11. targetSdkVersion 30
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. kotlinOptions {
  27. jvmTarget = '1.8'
  28. }
  29. }
  30. dependencies {
  31. //noinspection GradleCompatible
  32. implementation 'org.jetbrains.anko:anko-common:0.9'
  33. implementation 'com.android.support:recyclerview-v7:28.0.0'
  34. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  35. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  36. implementation 'com.squareup.okhttp3:okhttp:4.9.0'
  37. implementation 'com.google.code.gson:gson:2.8.5'
  38. implementation 'androidx.cardview:cardview:1.0.0'
  39. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  40. implementation 'com.github.bumptech.glide:glide:4.10.0'
  41. implementation 'androidx.appcompat:appcompat:1.2.0'
  42. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  43. implementation 'androidx.viewpager:viewpager:1.0.0'//Glide
  44. annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
  45. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  46. // implementation 'androidx.core:core-ktx:1.3.2'
  47. implementation 'androidx.appcompat:appcompat:1.2.0'
  48. implementation 'com.google.android.material:material:1.2.1'
  49. // implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  50. // implementation 'androidx.fragment:fragment-ktx:1.2.4'
  51. // implementation 'androidx.recyclerview:recyclerview:1.1.0'
  52. // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  53. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  54. // implementation fileTree(dir: "libs", include: ["*.jar"])
  55. // testImplementation 'junit:junit:4.13.1'
  56. // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  57. // implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  58. // implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  59. implementation "com.squareup.picasso:picasso:2.71828"
  60. // implementation "org.jetbrains.anko:anko-common:0.9"
  61. // implementation 'com.squareup.okhttp3:okhttp:4.9.0'
  62. // implementation 'com.android.support:recyclerview-v7:28.0.0'
  63. }