1
0
Fork 0
phizclip-android-demo/app/build.gradle

49 lines
1.8 KiB
Groovy
Raw Normal View History

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"
2020-09-03 11:49:35 +08:00
minSdkVersion 19
2020-03-07 20:26:34 +08:00
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2020-09-03 11:49:35 +08:00
multiDexEnabled true
buildConfigField "String", "APP_KEY", "\"22LyZEib0gLTQdU3MUauAVUHSFDdTToYDWCqr0AgPGwA\""
// App Secret
buildConfigField "String", "APP_SECRET", "\"8c5c3c26420b7e66\""
// API服务地址
buildConfigField "String", "API_URL", "\"https://mp.finogeeks.com\""
// API服务前缀
buildConfigField "String", "API_PREFIX", "\"/api/v1/mop/\""
2020-03-07 20:26:34 +08:00
}
buildTypes {
release {
2020-09-03 11:49:35 +08:00
minifyEnabled true
2020-03-07 20:26:34 +08:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2020-09-03 11:49:35 +08:00
packagingOptions {
// libsdkcore.so是被加固过的不能被压缩否则加载动态库时会报错
doNotStrip "*/x86/libsdkcore.so"
doNotStrip "*/x86_64/libsdkcore.so"
doNotStrip "*/armeabi/libsdkcore.so"
2020-09-03 11:49:35 +08:00
doNotStrip "*/armeabi-v7a/libsdkcore.so"
doNotStrip "*/arm64-v8a/libsdkcore.so"
}
2020-03-07 20:26:34 +08:00
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2020-09-03 11:49:35 +08:00
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
implementation 'com.google.android.material:material:1.2.0'
2020-03-07 20:26:34 +08:00
testImplementation 'junit:junit:4.12'
2020-09-03 11:49:35 +08:00
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.finogeeks.lib:finapplet:2.11.98'
2020-09-03 11:49:35 +08:00
}