Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
earlywarning
Commits
b7453b04
Commit
b7453b04
authored
Dec 12, 2025
by
p x
Browse files
添加netty混淆规则
parent
20b7afe5
Changes
2
Show whitespace changes
Inline
Side-by-side
build.gradle.kts
View file @
b7453b04
...
@@ -21,10 +21,12 @@ android {
...
@@ -21,10 +21,12 @@ android {
buildTypes
{
buildTypes
{
release
{
release
{
isMinifyEnabled
=
false
isMinifyEnabled
=
false
proguardFiles
(
isShrinkResources
=
false
consumerProguardFiles
(
"proguard-rules.pro"
)
/*proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
"proguard-rules.pro"
)
)
*/
}
}
}
}
compileOptions
{
compileOptions
{
...
...
proguard-rules.pro
View file @
b7453b04
...
@@ -19,13 +19,16 @@
...
@@ -19,13 +19,16 @@
#
If
you
keep
the
line
number
information
,
uncomment
this
to
#
If
you
keep
the
line
number
information
,
uncomment
this
to
#
hide
the
original
source
file
name
.
#
hide
the
original
source
file
name
.
#-
renamesourcefileattribute
SourceFile
#-
renamesourcefileattribute
SourceFile
#
--
解析
Bean
-
keep
class
com
.
cusc
.
adas
.
v2x
.
utils
.
**
{
*
;}
-
keep
@
interface
com
.
cusc
.
adas
.
v2x
.
utils
.
Order
.
*
-
keep
@
interface
com
.
cusc
.
adas
.
v2x
.
utils
.
**
{
*
;}
-
keep
class
com
.
cusc
.
adas
.
v2x
.
events
.
**
{
*
;}
-
keep
class
com
.
cusc
.
adas
.
v2x
.
vo
.
**
{
*
;}
-
keep
class
com
.
cusc
.
adas
.
v2x
.
dto
.
**
{
*
;}
#
--------------------------
Netty
核心混淆规则
--------------------------
#
--
解析
Bean
-
keep
class
com
.
cusc
.
adas
.
v2x
.
**
{
*
;}
#
保留
Netty
核心类
-
keep
class
io
.
netty
.
**
{
*
;
}
-
keepclasseswithmembers
class
io
.
netty
.
**
{
*
;
}
-
keepnames
class
io
.
netty
.
**
{
*
;
}
-
dontwarn
io
.
netty
.
**
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment