1
wxr
2022-01-11 5f82f0310a19cc6ee25ffadcff1e33f3ca2f7e44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
    id 'com.android.library'
}
apply plugin: 'com.kezong.fat-aar'
 
//apply from: 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle'
 
android {
    compileSdkVersion 31
 
    defaultConfig {
        minSdkVersion 23
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
 
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles "consumer-rules.pro"
    }
 
    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.2.0'
//    implementation 'com.google.android.material:material:1.3.0'
//    testImplementation 'junit:junit:4.+'
//    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
//    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
 
//    compile fileTree(include:['*.jar'], dir:'libs')
    implementation fileTree(dir: 'libs', include: ['*.jar'])
 
    // 下面各SDK根据宿主App是否使用相关业务按需引入。
    // 友盟统计SDK
    embed  'com.umeng.umsdk:common:9.4.4'// 必选
    embed  'com.umeng.umsdk:asms:1.4.1'// 必选
//    embed 'com.umeng.umsdk:apm:1.5.2' // 错误分析升级为独立SDK,看crash数据请一定集成,可选
//    embed  'com.umeng.umsdk:abtest:1.0.0'//使用U-App中ABTest能力,可选
}