apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "tw.com.altob.goodpk.carin" minSdkVersion 21 targetSdkVersion 29 versionCode 6 versionName "1.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { debug { buildConfigField "String", "API_URL", "\"https://cloudservice.altob.com.tw/LockCarSerivce/api/JumpApi\"" } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' buildConfigField "String", "API_URL", "\"https://cloudservice.altob.com.tw/LockCarSerivce/api/JumpApi\"" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.aar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation 'com.google.android.material:material:1.0.0' implementation "androidx.loader:loader:1.1.0" //插件 implementation 'com.google.code.gson:gson:2.8.1' implementation 'com.android.support:multidex:1.0.2' implementation 'com.orhanobut:logger:1.8' implementation "com.squareup.okhttp3:okhttp:4.7.2" }