config.gradle 1.06 KB
ext {
    android = [
            compileSdkVersion: 30,
            buildToolsVersion: "30.0.2",
            minSdkVersion    : 21,
            targetSdkVersion : 28,
            versionCode      : 1,
            versionName      : "1.0.0"
    ]

    sign = [
            //打包签名
            KEY_ALIAS        : "lhcredit",
            KEYSTORE_PASSWORD: "lianhe@123456",
            KEY_PASSWORD     : "lianhe@123456"
    ]

    project = [
            applicationId    : "com.zqyj"
    ]

    version = [
            androidSupportSdkVersion: "28.0.0",
            retrofitSdkVersion      : "2.9.0"
    ]

    dependencies = [
            //network
            "retrofit"               : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
            "retrofit-converter-gson": "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
            //test
            "androidJUnitRunner"       : "android.support.test.runner.AndroidJUnitRunner",
            "okhttp_intercept"       : "android.support.test.runner.AndroidJUnitRunner"
    ]
}