Skip to content

Commit

Permalink
添加混淆
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinaLike committed Nov 16, 2023
1 parent c72003a commit 6e22eb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ android {

defaultConfig {
minSdkVersion 19
targetSdkVersion 30
versionCode 7
versionName "0.0.7"
targetSdkVersion 33
versionCode 8
versionName "0.0.8"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
2 changes: 2 additions & 0 deletions library/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-keep class com.core.web.CallbackBean
-keep class com.core.web.JavascriptInterfaceBean
6 changes: 3 additions & 3 deletions library/src/main/java/com/core/web/CallbackBean.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package com.core.web
* @date 5/24/21 4:29 PM
*/
data class CallbackBean(
var code:Int,
var message:String,
var data:Any?
val code:Int,
val message:String,
val data:Any?
)

0 comments on commit 6e22eb6

Please sign in to comment.