ext.versions = [
        guava        : '19.0',
        okhttp       : '3.7.0',
        gson         : '2.8.0',
        picasso      : '2.5.2',
        glide        : '3.7.0',
        fresco       : '1.3.0',
        rxjava       : '2.1.0',
        rxandroid    : '2.0.1',
        leakcanary   : '1.5.1',
        support      : getProperty('SUPPORT_VERSION'),

        // test
        junit        : '4.12',
        mockito      : '1.10.19',
        power_mockito: '1.6.4',
        hamcrest     : '1.3',
        runner       : '0.4.1',
        rules        : '0.4.1',
        espresso     : '2.2.1',

//        tools
        stetho       : '1.5.0'
]

ext.libraries = [
        guava                                : "com.google.guava:guava:${versions.guava}",

        // net
        okhttp                               : "com.squareup.okhttp3:okhttp:${versions.okhttp}",

        gson                                 : "com.google.code.gson:gson:${versions.gson}",

        // img
        picasso                              : "com.squareup.picasso:picasso:${versions.picasso}",
        // Or glide
        glide                                : "com.github.bumptech.glide:glide:${versions.glide}",
        // Or fresco
        fresco                               : "com.facebook.fresco:fresco:${versions.fresco}",

        // event bus
        // otto                : "com.squareup:otto:${versions.otto}",
        // rxjava replace otto
        rxjava                               : "io.reactivex.rxjava2:rxjava:${versions.rxjava}",
        // rxandroid
        rxandroid                            : "io.reactivex.rxjava2:rxandroid:${versions.rxandroid}",

        // leakcanary
        leakcanary_android                   : "com.squareup.leakcanary:leakcanary-android:${versions.leakcanary}",
        leakcanary_android_no_op             : "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leakcanary}",

        // android-support
        support_v4                           : "com.android.support:support-v4:${versions.support}",
        appcompat_v7                         : "com.android.support:appcompat-v7:${versions.support}",
        cardview_v7                          : "com.android.support:cardview-v7:${versions.support}",
        design                               : "com.android.support:design:${versions.support}",
        recyclerview_v7                      : "com.android.support:recyclerview-v7:${versions.support}",
        support_annotations                  : "com.android.support:support-annotations:${versions.support}",

        // Dependencies for local unit tests
        junit                                : "junit:junit:${versions.junit}",
        mockito                              : "org.mockito:mockito-all:${versions.mockito}",
        hamcrest                             : "org.hamcrest:hamcrest-all:${versions.hamcrest}",
        powermock_module_junit4              : "org.powermock:powermock-module-junit4:${versions.power_mockito}",
        powermock_api_mockito                : "org.powermock:powermock-api-mockito:${versions.power_mockito}",

        // Android Testing Support Library's runner and rules
        android_runner                       : "com.android.support.test:runner:${versions.runner}",
        android_rules                        : "com.android.support.test:rules:${versions.rules}",

        // Espresso UI Testing dependencies.
        android_test_espresso_idling_resource: "com.android.support.test.espresso:espresso-idling-resource:${versions.espresso}",
        android_test_espresso_core           : "com.android.support.test.espresso:espresso-core:${versions.espresso}",
        android_test_espresso_contrib        : "com.android.support.test.espresso:espresso-contrib:${versions.espresso}",
        android_test_espresso_intents        : "com.android.support.test.espresso:espresso-intents:${versions.espresso}",

        // tools
        stetho                               : "com.facebook.stetho:stetho:${versions.stetho}",
        stetho_okhttp3                       : "com.facebook.stetho:stetho-okhttp3:${versions.stetho}"
]

ext.jars = [
]


