add chain lig

This commit is contained in:
zhongchao
2021-10-15 18:34:34 +08:00
parent 9e00205cdf
commit c7f3f8d5a1
8 changed files with 52 additions and 7 deletions

View File

@@ -4,6 +4,19 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'android-aspectjx'
//apply ByteX宿主
apply plugin: 'bytex'
ByteX {
enable true
enableInDebug true
logLevel "DEBUG"
}
apply plugin: 'chain.log.hook'
hooklog{
enableLoggerToServer true
}
Properties properties = new Properties();
properties.load(project.rootProject.file("gradle.properties").newDataInputStream())
@@ -29,6 +42,8 @@ android {
packagingOptions {
exclude 'META-INF/proguard/coroutines.pro'
exclude 'META-INF/*'
exclude '*/proguard'
pickFirst 'migrateToAndroidx/migration.xml'
}
signingConfigs {
@@ -132,7 +147,6 @@ aspectjx {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
//Crash日志收集
implementation rootProject.ext.dependencies.crashSdk
implementation rootProject.ext.dependencies.androidxappcompat