Files
RemoteControl/clientAppOne/app/build.gradle
2024-09-27 01:09:52 +08:00

69 lines
2.0 KiB
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

plugins {
id 'com.android.application'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
applicationId "com.bmy.clientappone"
minSdkVersion 16
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndk {
//设置支持的SO库架构开发者可以根据需要选择一个或多个平台的so
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","arm64-v8a","x86_64"
}
}
signingConfigs {
//调试版的keystore
debug {
storeFile file("/Users/bmy/Tools/key.jks")
storePassword "lb714500"
keyAlias "key"
keyPassword "lb714500"
}
//发布版的keystore
release {
storeFile file("/Users/bmy/Tools/key.jks")
storePassword "lb714500"
keyAlias "key"
keyPassword "lb714500"
}
}
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 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
//定位功能
compile 'com.amap.api:location:latest.integration'
//搜索功能
compile 'com.amap.api:search:latest.integration'
//3D地图so及jar
compile 'com.amap.api:3dmap:latest.integration'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation 'com.ejlchina:okhttps-gson:3.1.3'
}