Skip to content

Commit 41a7ab0

Browse files
committed
feat:bcu ---> 2.1.0
1 parent b2c249b commit 41a7ab0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

app/build.gradle.kts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ plugins {
44
id("bcu-plugin")
55
}
66

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 ->
1315
!entryName.startsWith("com/ysj/") && !entryName.startsWith("com/example/")
1416
}
1517
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ kotlin.code.style=official
2424
# thereby reducing the size of the R class for that library
2525
android.nonTransitiveRClass=true
2626
# ============ 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
2929
bcu.groupId=io.github.ysj001.bcu
3030
bcu.modifier.aspect.version=1.0.0-beta
3131
# ========================================================

0 commit comments

Comments
 (0)