-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
45 lines (39 loc) · 1.42 KB
/
build.gradle
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.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName rootProject.ext.VERSION_NAME
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation project(':matrix-resource-canary:matrix-resource-canary-common')
implementation "com.tencent.tinker:tinker-ziputils:1.9.2"
implementation project(':matrix-android-lib')
implementation project(':matrix-resource-canary:matrix-resource-canary-analyzer')
implementation project(':matrix-memory-dump')
}
version = rootProject.ext.VERSION_NAME
group = rootProject.ext.GROUP
if("External" == rootProject.ext.PUBLISH_CHANNEL) {
apply from: rootProject.file('gradle/android-publish.gradle')
}
else {
apply from: rootProject.file('gradle/WeChatPublish.gradle')
apply from: rootProject.file('gradle/WeChatNativeDepend.gradle')
wechatPublish {
artifactId = POM_ARTIFACT_ID
}
}