[3.4.0][Feat]集成btrace,默认注释掉
This commit is contained in:
@@ -38,8 +38,8 @@ buildscript {
|
||||
classpath "com.mogo.sticky:service:${plugin_version}"
|
||||
classpath "io.github.knight-zxw:lancet-plugin:${lancetx_plugin_version}"
|
||||
|
||||
// classpath ("com.tencent.matrix:matrix-gradle-plugin:0.6.6") { changing = true }
|
||||
classpath 'com.mogo.cloud:matrix:1.0.0'
|
||||
// classpath 'com.bytedance.btrace:rhea-gradle-plugin:2.0.0'
|
||||
}
|
||||
// 遇无法更新依赖情况(针对Snapshot无法刷新)然后sync project即可,刷新完成注释该代码
|
||||
// configurations.all {
|
||||
|
||||
@@ -217,6 +217,7 @@ ext {
|
||||
thread_opt : "com.mogo.thread.opt:lib:${plugin_version}",
|
||||
|
||||
weak_network : "com.mogo.weak:network:1.0.0",
|
||||
btrace : "com.bytedance.btrace:rhea-core:2.0.0",
|
||||
|
||||
mofang_runtime : "com.mogo.eagle.core.mofang:runtime:2.0.6",
|
||||
log_runtime : "com.mogo.eagle.core.log.record:runtime:1.0.6"
|
||||
|
||||
@@ -97,6 +97,7 @@ dependencies {
|
||||
implementation group: "com.tencent.matrix", name: "matrix-io-canary", version: MATRIX_VERSION, changing: true
|
||||
implementation group: "com.tencent.matrix", name: "matrix-hooks", version: MATRIX_VERSION, changing: true
|
||||
implementation rootProject.ext.dependencies.weak_network
|
||||
// implementation rootProject.ext.dependencies.btrace
|
||||
|
||||
implementation project(':foudations:mogo-commons')
|
||||
implementation project(':core:mogo-core-utils')
|
||||
|
||||
@@ -17,4 +17,5 @@ if (!isAndroidTest) {
|
||||
apply from: rootProject.file('gradle/bytex/bytex_apm.gradle')
|
||||
apply from: rootProject.file('gradle/bytex/bytex_systrace.gradle')
|
||||
apply from: rootProject.file('gradle/bytex/bytex_matrix.gradle')
|
||||
// apply from: rootProject.file('gradle/bytex/bytex_btrace.gradle')
|
||||
}
|
||||
|
||||
10
gradle/bytex/bytex_btrace.gradle
Normal file
10
gradle/bytex/bytex_btrace.gradle
Normal file
@@ -0,0 +1,10 @@
|
||||
if (!rootProject.isReleaseBuild()) {
|
||||
apply plugin: 'com.bytedance.rhea-trace'
|
||||
rheaTrace {
|
||||
compilation {
|
||||
traceFilterFilePath = "${project.rootDir}/trace-filter/traceFilter.txt"
|
||||
needPackageWithMethodMap = false
|
||||
applyMethodMappingFilePath = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user