Nenhuma descrição

build.gradle 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.2"
  7. compileOptions {
  8. sourceCompatibility JavaVersion.VERSION_1_8
  9. targetCompatibility JavaVersion.VERSION_1_8
  10. }
  11. kotlinOptions {
  12. jvmTarget = JavaVersion.VERSION_1_8.toString()
  13. }
  14. defaultConfig {
  15. applicationId "com.example.trefletest"
  16. minSdkVersion 16
  17. targetSdkVersion 30
  18. versionCode 1
  19. versionName "1.0"
  20. vectorDrawables{
  21. useSupportLibrary true
  22. }
  23. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  24. }
  25. buildTypes {
  26. release {
  27. minifyEnabled false
  28. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  29. }
  30. }
  31. }
  32. dependencies {
  33. implementation fileTree(dir: "libs", include: ["*.jar"])
  34. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  35. implementation 'androidx.core:core-ktx:1.3.2'
  36. implementation 'androidx.appcompat:appcompat:1.2.0'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  38. //implementation 'org.junit.jupiter:junit-jupiter'
  39. testImplementation 'junit:junit:4.13.1'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  42. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  43. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  44. implementation "com.squareup.picasso:picasso:2.71828"
  45. implementation "org.jetbrains.anko:anko-common:0.9"
  46. implementation 'com.squareup.okhttp3:okhttp:4.9.0'
  47. }