12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 29
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- multiDexEnabled true
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles 'consumer-rules.pro'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- //.so文件引用
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs', '../libs'
- }
- }
- allprojects {
- repositories {
- maven { url uri('../../repo') }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.3.1'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- //阿里云
- api 'com.aliyun.dpa:oss-android-sdk:2.9.11'
- }
|