IOS
hefeixia
2021-02-18 49f3c1374873f73dbde2983ca0fcf1fb10bfedbf
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
apply plugin: 'com.android.application'
// 华为推送,agconnect-services.json 文件也得在在application module的根目录
apply plugin: 'com.huawei.agconnect'
 
android {
    signingConfigs {
//        wfc {
//            keyAlias 'wfc'
//            keyPassword 'wildfirechat'
//            storeFile file('../wfc.keystore')
//            storePassword 'wildfirechat'
//        }
    }
    compileSdkVersion 29
    aaptOptions.cruncherEnabled = false
    aaptOptions.useNewCruncher = false
    defaultConfig {
        applicationId "com.highdatas.madeasy.patient"
        minSdkVersion 21
        targetSdkVersion 29 //当targetversion大于23时,需要使用fileprovider
        versionCode 30
        versionName "0.8.2"
        multiDexEnabled true
        javaCompileOptions {
//            annotationProcessorOptions {
//                includeCompileClasspath false
//            }
        }
//        signingConfig signingConfigs.wfc
        manifestPlaceholders = [
                JPUSH_PKGNAME : applicationId,
                JPUSH_APPKEY  : "7d46c2cb4685c65df93ee56e",//值来自开发者平台取得的AppKey
                rsa  : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxZr9kgGXJxFD2kzUQXTiC+RINXtNlY+OPAEeA52zKREDLoDOsyKhopOgpKeNyaPbV07JuoL43MEIGFne1Oxa7DKWsx93dLm7UYlTysUKWSqn7xrt8+hgu+SwMvqk6Al3nBwBlPHizpHtdelawyl4zJL04u9n4XW+4AUBNqbpFNQIDAQAB",//值来自开发者平台取得的AppKey
                JPUSH_CHANNEL : "default_developer",
//                TENCENT_APPID: "QQ开发者应用的appID",//腾讯开放平台注册应用得到的appId
 
        ]
        ndk {
            abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
        }
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//            signingConfig signingConfigs.wfc
        }
        debug {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//            signingConfig signingConfigs.wfc
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
 
 
    lintOptions {
        abortOnError false
    }
    productFlavors {
    }
    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }
}
 
repositories {
    flatDir {
        dirs 'libs'
    }
}
dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
 
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.core:core-ktx:1.3.2'
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'com.google.android.material:material:1.2.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
 
    //百分比布局
    implementation 'com.zhy:percent-support-extends:1.1.1'
    //bugly
    implementation 'com.tencent.bugly:crashreport:2.8.6.0'
    implementation 'com.tencent.bugly:nativecrashreport:3.6.0.1'
 
    //百分比布局
    implementation 'com.zhy:percent-support-extends:1.1.1'
 
    implementation 'com.jakewharton:butterknife:10.2.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.navigation:navigation-fragment:2.3.2'
    implementation 'androidx.navigation:navigation-ui:2.3.2'
    implementation "com.android.support:multidex:1.0.1"
    //红点
    implementation 'q.rorbin:badgeview:1.1.3'
 
    implementation 'com.youth.banner:banner:2.1.0'
    //指示器样式
    implementation 'com.github.zhpanvip:viewpagerindicator:1.0.7'
 
    implementation 'com.gyf.immersionbar:immersionbar:3.0.0-beta05'
    implementation 'com.airbnb.android:lottie:2.8.0'
    implementation 'io.reactivex:rxjava:1.1.0'
 
    implementation 'com.google.code.gson:gson:2.8.5'
 
    implementation 'com.github.zhaolewei:ZlwAudioRecorder:v1.07'
 
 
//
    implementation 'com.github.LinweiJ:ViewPagerIndicator:0.1.0'
 
    //极光
    implementation 'cn.jiguang.sdk:jverification:2.6.7'  // 此处以jverification 2.6.7 版本为例。
    implementation 'cn.jiguang.sdk:jcore:2.5.5'  // 此处以JCore 2.5.5 版本为例。
 
 
    implementation project(':uikit')
    implementation project(':push')
    implementation project(":emojilibrary")
    implementation project(':circledialog')
    implementation project(':nuisdk-release')
    implementation files('libs/fastjson-1.1.46.android.jar')
}