add Matrix

This commit is contained in:
unknown
2020-11-10 16:24:43 +08:00
parent 8b59221f71
commit bd285b4d23
2 changed files with 13 additions and 0 deletions

View File

@@ -372,6 +372,18 @@ dependencies {
apply from: "./functions/crashreport.gradle"
apply from: "./functions/widgets.gradle"
apply from: "./functions/tts.gradle"
implementation group: "com.tencent.matrix", name: "matrix-trace-canary", version:'0.6.6', changing: true
}
apply plugin: 'com.tencent.matrix-plugin'
matrix {
trace {
enable = true //if you don't want to use trace canary, set false
baseMethodMapFile = "${project.buildDir}/matrix_output/Debug.methodmap"
blackListFile = "${project.projectDir}/matrixTrace/blackMethodList.txt"
}
}
android.applicationVariants.all { variant ->