mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2025-12-10 02:05:20 +00:00
- circleci update
This commit is contained in:
@@ -112,18 +112,18 @@ dependencies {
|
|||||||
implementation 'androidx.preference:preference:1.2.1'
|
implementation 'androidx.preference:preference:1.2.1'
|
||||||
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
|
||||||
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
||||||
// Unit testing
|
/ * Unit testing * /
|
||||||
testImplementation 'junit:junit:4.13'
|
testImplementation 'junit:junit:4.13'
|
||||||
androidTestImplementation 'androidx.test:rules:1.2.0'
|
androidTestImplementation 'androidx.test:rules:1.2.0'
|
||||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||||
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||||
implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
||||||
|
|
||||||
// android unit testing and espresso
|
/ * android unit testing and espresso * /
|
||||||
androidTestImplementation 'androidx.test:rules:1.4.1-alpha06'
|
androidTestImplementation 'androidx.test:rules:1.4.1-alpha06'
|
||||||
androidTestImplementation "androidx.test:core:1.4.0"
|
androidTestImplementation "androidx.test:core:1.4.0"
|
||||||
|
|
||||||
/ * Android Espresso */
|
/ * Android Espresso * /
|
||||||
def testJunitVersion = "1.1.5"
|
def testJunitVersion = "1.1.5"
|
||||||
def testRunnerVersion = "1.5.2"
|
def testRunnerVersion = "1.5.2"
|
||||||
def espressoVersion = "3.5.1"
|
def espressoVersion = "3.5.1"
|
||||||
@@ -135,59 +135,59 @@ dependencies {
|
|||||||
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
|
||||||
androidTestImplementation "org.hamcrest:hamcrest:2.2"
|
androidTestImplementation "org.hamcrest:hamcrest:2.2"
|
||||||
//mock websever for testing retrofit responses
|
/ * mock websever for testing retrofit responses * /
|
||||||
testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0"
|
testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0"
|
||||||
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
||||||
|
|
||||||
//mockito and livedata testing
|
/ * mockito and livedata testing * /
|
||||||
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
||||||
implementation 'androidx.arch.core:core-testing:2.2.0'
|
implementation 'androidx.arch.core:core-testing:2.2.0'
|
||||||
|
|
||||||
// Mockk
|
/ * MockK * /
|
||||||
def mockk_ver = "1.10.5"
|
def mockk_ver = "1.10.5"
|
||||||
testImplementation "io.mockk:mockk:$mockk_ver"
|
testImplementation "io.mockk:mockk:$mockk_ver"
|
||||||
androidTestImplementation "io.mockk:mockk-android:$mockk_ver"
|
androidTestImplementation "io.mockk:mockk-android:$mockk_ver"
|
||||||
|
|
||||||
// Retrofit
|
/ * Retrofit * /
|
||||||
def retrofit_ver = "2.8.1"
|
def retrofit_ver = "2.8.1"
|
||||||
implementation "com.squareup.retrofit2:retrofit:$retrofit_ver"
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_ver"
|
||||||
implementation "com.squareup.retrofit2:converter-gson:$retrofit_ver"
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit_ver"
|
||||||
implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
|
||||||
|
|
||||||
// Shared prefs
|
/ * Shared prefs * /
|
||||||
def prefs_ver = "1.1.1"
|
def prefs_ver = "1.1.1"
|
||||||
implementation "androidx.preference:preference-ktx:$prefs_ver"
|
implementation "androidx.preference:preference-ktx:$prefs_ver"
|
||||||
|
|
||||||
//Kodein Dependency Injection
|
/ *Kodein Dependency Injection * /
|
||||||
def kodein_version = "6.2.1"
|
def kodein_version = "6.2.1"
|
||||||
implementation "org.kodein.di:kodein-di-generic-jvm:$kodein_version"
|
implementation "org.kodein.di:kodein-di-generic-jvm:$kodein_version"
|
||||||
implementation "org.kodein.di:kodein-di-framework-android-x:$kodein_version"
|
implementation "org.kodein.di:kodein-di-framework-android-x:$kodein_version"
|
||||||
|
|
||||||
// Room database
|
/ * Room database * /
|
||||||
def room_version = "2.3.0-alpha03"
|
def room_version = "2.3.0-alpha03"
|
||||||
implementation "androidx.room:room-runtime:$room_version"
|
implementation "androidx.room:room-runtime:$room_version"
|
||||||
kapt "androidx.room:room-compiler:$room_version"
|
kapt "androidx.room:room-compiler:$room_version"
|
||||||
implementation "androidx.room:room-ktx:$room_version"
|
implementation "androidx.room:room-ktx:$room_version"
|
||||||
|
|
||||||
// Picasso
|
/ * Picasso * /
|
||||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||||
|
|
||||||
// coroutine
|
/ * coroutine * /
|
||||||
def coroutine_version = "1.3.9"
|
def coroutine_version = "1.3.9"
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
|
||||||
|
|
||||||
// tomtom search
|
/ * tomtom search * /
|
||||||
def tomtom_version = "2.4771"
|
def tomtom_version = "2.4771"
|
||||||
implementation "com.tomtom.online:sdk-search:$tomtom_version"
|
implementation "com.tomtom.online:sdk-search:$tomtom_version"
|
||||||
implementation "com.tomtom.online:sdk-maps:2.4807"
|
implementation "com.tomtom.online:sdk-maps:2.4807"
|
||||||
|
|
||||||
/* coroutines support for firebase operations */
|
/ * coroutines support for firebase operations * /
|
||||||
def coroutines_google_ver = "1.1.1"
|
def coroutines_google_ver = "1.1.1"
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutines_google_ver"
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutines_google_ver"
|
||||||
|
|
||||||
/ * Picasso */
|
/ * Picasso * /
|
||||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||||
|
|
||||||
/ * screenshot library */
|
/ * screenshot library * /
|
||||||
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
|
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ android.enableJetifier=true
|
|||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
org.gradle.jvmargs=-Xmx1536m
|
org.gradle.jvmargs=-Xmx1536m
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
org.gradle.caching=true
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# This option should only be used with decoupled projects. More details, visit
|
||||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||||
|
|||||||
Reference in New Issue
Block a user