2020-03-07 20:26:34 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.2"
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.finogeeks.mop.demo"
|
|
|
|
minSdkVersion 26
|
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
buildConfigField "String", "APP_KEY", "\"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA\""
|
|
|
|
// App Secret
|
2020-03-21 19:57:53 +08:00
|
|
|
buildConfigField "String", "APP_SECRET", "\"cf59e5bf82c506bf\""
|
2020-03-07 20:26:34 +08:00
|
|
|
// API服务地址
|
2020-03-21 19:57:53 +08:00
|
|
|
buildConfigField "String", "API_URL", "\"http://10.104.58.240:8000\""
|
2020-03-07 20:26:34 +08:00
|
|
|
// API服务前缀
|
2020-03-21 19:57:53 +08:00
|
|
|
buildConfigField "String", "API_PREFIX", "\"/api/v1/mop/\""
|
2020-03-07 20:26:34 +08:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
2020-03-21 19:57:53 +08:00
|
|
|
implementation 'com.finogeeks.lib:finapplet:+'
|
2020-03-07 20:26:34 +08:00
|
|
|
|
|
|
|
}
|