66 lines
2.1 KiB
Groovy
Executable File
66 lines
2.1 KiB
Groovy
Executable File
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 32
|
|
defaultConfig {
|
|
applicationId "com.finogeeks.test.app"
|
|
minSdkVersion 21
|
|
targetSdkVersion 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
multiDexEnabled true
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
signingConfigs {
|
|
config {
|
|
v1SigningEnabled true
|
|
v2SigningEnabled true
|
|
keyAlias "testalias"
|
|
keyPassword "123456"
|
|
storeFile file("finclip.jks")
|
|
storePassword "123456"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.config
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
release {
|
|
signingConfig signingConfigs.config
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
aaptOptions {
|
|
additionalParameters '--auto-add-overlay'
|
|
ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation fileTree(dir: 'libs', include: ['*.aar'])
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
|
|
/*uniapp所需库-----------------------开始*/
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
implementation 'com.facebook.fresco:fresco:1.13.0'
|
|
implementation "com.facebook.fresco:animated-gif:1.13.0"
|
|
/*uniapp所需库-----------------------结束*/
|
|
// 基座需要,必须添加
|
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
|
implementation 'com.alibaba:fastjson:1.1.46.android'
|
|
|
|
// 添加uni-app插件
|
|
implementation project(':uniplugins_mopsdk')
|
|
}
|
|
|