File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ plugins {
4
4
id(" bcu-plugin" )
5
5
}
6
6
7
- bytecodeUtil {
8
- loggerLevel = 1
9
- modifiers = arrayOf(
10
- com.ysj.lib.bcu.modifier.aspect.AspectModifier ::class .java,
11
- )
12
- notNeed = { entryName ->
7
+ bcu {
8
+ config { variant ->
9
+ loggerLevel = 2
10
+ modifiers = arrayOf(
11
+ com.ysj.lib.bcu.modifier.aspect.AspectModifier ::class .java,
12
+ )
13
+ }
14
+ filterNot { variant, entryName ->
13
15
! entryName.startsWith(" com/ysj/" ) && ! entryName.startsWith(" com/example/" )
14
16
}
15
17
}
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ kotlin.code.style=official
24
24
# thereby reducing the size of the R class for that library
25
25
android.nonTransitiveRClass =true
26
26
# ============ BytecodeUtil Project configure ============
27
- bcu.plugin =com.github.Ysj001.BytecodeUtil:plugin:2.0.1
28
- bcu.plugin.api =com.github.Ysj001.BytecodeUtil:plugin-api:2.0.1
27
+ bcu.plugin =com.github.Ysj001.BytecodeUtil:plugin:2.1.0
28
+ bcu.plugin.api =com.github.Ysj001.BytecodeUtil:plugin-api:2.1.0
29
29
bcu.groupId =io.github.ysj001.bcu
30
30
bcu.modifier.aspect.version =1.0.0-beta
31
31
# ========================================================
You can’t perform that action at this time.
0 commit comments