build.gradle
1015 Bytes
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
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.iflytek.mscv5plusdemo"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion 23
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
allprojects {
repositories {
// Msc.jar线上maven地址
jcenter()
mavenCentral()
}
}
}
dependencies {
// compile project(':MscLibSrc')
compile 'androidx.legacy:legacy-support-v4:1.0.0'
api 'com.squareup.leakcanary:leakcanary-android:1.5'
compile files('libs/Msc.jar')
// //debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
// releaseCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
}