diff --git a/README.md b/README.md index da3b44e..c0b29ad 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Step 2. Add the dependency ``` dependencies { - implementation 'com.github.zeropercenthappy:RetrofitUtils:1.0.5' + implementation 'com.github.zeropercenthappy:RetrofitUtils:1.0.6' } ``` diff --git a/build.gradle b/build.gradle index f501e96..b59da3c 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { ext.android_support_version = '27.1.1' - ext.kotlin_version = '1.3.21' + ext.kotlin_version = '1.3.31' ext.anko_version = '0.10.8' ext.glide_version = '4.7.1' ext.retrofit_version = '2.4.0' diff --git a/retrofitLib/build.gradle b/retrofitLib/build.gradle index 9628927..2ef95e0 100644 --- a/retrofitLib/build.gradle +++ b/retrofitLib/build.gradle @@ -8,10 +8,10 @@ android { compileSdkVersion 27 defaultConfig { - minSdkVersion 19 + minSdkVersion 14 targetSdkVersion 27 - versionCode 105 - versionName "1.0.5" + versionCode 106 + versionName "1.0.6" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -30,14 +30,14 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation "org.jetbrains.anko:anko-common:$anko_version" - implementation "com.android.support:appcompat-v7:$android_support_version" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1" + implementation "org.jetbrains.anko:anko:$anko_version" testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' - api 'com.github.zeropercenthappy:ZPHAndroidUtils:1.1.8' + implementation 'com.github.zeropercenthappy:ZPHAndroidUtils:1.1.9' api "com.squareup.retrofit2:retrofit:$retrofit_version" api "com.squareup.retrofit2:converter-gson:$retrofit_version" api 'com.squareup.okhttp3:logging-interceptor:3.8.0' diff --git a/sample/build.gradle b/sample/build.gradle index 9513b30..579a0d1 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -5,7 +5,7 @@ android { compileSdkVersion 27 defaultConfig { applicationId "com.zeropercenthappy.retrofitutilsample" - minSdkVersion 19 + minSdkVersion 15 targetSdkVersion 27 versionCode 1 versionName "1.0" @@ -22,13 +22,16 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation "org.jetbrains.anko:anko-common:$anko_version" + implementation "com.android.support:appcompat-v7:$android_support_version" implementation "com.android.support:design:$android_support_version" implementation "com.android.support:cardview-v7:$android_support_version" + implementation "com.android.support.constraint:constraint-layout:1.1.3" + + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1" + implementation "org.jetbrains.anko:anko:$anko_version" - implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' @@ -37,4 +40,6 @@ dependencies { implementation('com.yanzhenjie:album:2.1.3') { exclude group: 'com.android.support' } + + implementation 'com.github.zeropercenthappy:ZPHAndroidUtils:1.1.9' }