Add retrofit

This commit is contained in:
Shashidhara Gopal
2019-11-04 16:41:28 +05:30
parent 9dfd88d1ef
commit ad719a66d1
3 changed files with 8 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
def version_retrofit = '2.6.2'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
@@ -34,6 +36,8 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "com.squareup.retrofit2:retrofit:$version_retrofit"
implementation "com.squareup.retrofit2:converter-scalars:$version_retrofit"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

View File

@@ -0,0 +1,2 @@
package com.navi.medici.android_customer_app.login

View File

@@ -0,0 +1,2 @@
package com.navi.medici.android_customer_app.login