123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdk 32
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 26
- versionCode 1
- versionName "1.0"
- ndk {
- abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"
- }
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- //签名使用的相关证书
- signingConfigs {
- release {
- storeFile file('keystore.jks')
- storePassword '123456'
- keyAlias 'baidu'
- keyPassword '123456'
- }
- debug {
- storeFile file('keystore.jks')
- storePassword '123456'
- keyAlias 'baidu'
- keyPassword '123456'
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- packagingOptions {
- exclude 'META-INF/DEPENDENCIES.txt'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/DEPENDENCIES'
- exclude 'META-INF/notice.txt'
- exclude 'META-INF/license.txt'
- exclude 'META-INF/dependencies.txt'
- exclude 'META-INF/LGPL2.1'
- exclude 'META-INF/ASL2.0'
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- ndkVersion '21.1.6352462'
- buildToolsVersion '29.0.2'
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation "androidx.appcompat:appcompat:1.3.1"
- implementation files('libs\\fastjson-1.1.70.android.jar')
- implementation files('libs\\jetified-duersdk-common-1.7.5.2-5700.jar')
- implementation files('libs\\jetified-duersdk-ces-1.7.5.2-5700.jar')
- implementation files('libs\\jetified-duersdk-httplib-1.7.5.2-5700.jar')
- implementation files('libs\\jetified-duersdk-acl-1.7.5.2-5700.jar')
- implementation files('libs\\jetified-duersdk-core-1.7.5.2-5700.jar')
- implementation files('libs\\jetified-duersdk-crablite-1.7.5.2-5700.jar')
- implementation files('libs\\Java-WebSocket-1.5.1.jar')
- implementation files('libs\\slf4j-api-1.7.25.jar')
- implementation files('libs\\kotlin-stdlib-1.7.10.jar')
- implementation files('libs\\okio-jvm-2.8.0.jar')
- implementation files('libs\\duersdk-kitt-java-1.7.5.2-5754.jar')
- implementation files('libs\\com.baidu.tts_2.6.3.c2aaa9f_20220922113422.jar')
- }
|