广告aar分包 + 升级和优化依赖

This commit is contained in:
姜珂 2025-07-30 15:54:37 +08:00
parent 96c91647e3
commit d16d141967
13 changed files with 18 additions and 24 deletions

View File

@ -30,13 +30,12 @@ android {
}
dependencies {
api 'androidx.appcompat:appcompat:1.7.0'
api 'com.google.android.material:material:1.12.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
api 'androidx.activity:activity:1.10.1'
api 'androidx.appcompat:appcompat:1.7.0'
api 'com.google.android.material:material:1.12.0'
//gson
api 'com.google.code.gson:gson:2.13.1'

View File

@ -19,13 +19,6 @@
public <init>(android.content.Context, android.util.AttributeSet, int);
}
# 保留 Kotlin标准库
-keep class kotlin.** { *; }
-keep class org.jetbrains.kotlin.** { *; }
# 保留 Core-KTX
-keep class androidx.core.** { *; }
# 保留 Gson 序列化库
-keep class com.google.gson.** { *; }

View File

@ -1,3 +1,10 @@
# 保留 Core-KTX
-keep class androidx.core.** { *; }
# 保留 Kotlin标准库
-keep class kotlin.** { *; }
-keep class org.jetbrains.kotlin.** { *; }
# 保留 友盟统计SDK
-keep class com.umeng.** { *; }
-dontwarn com.umeng.**

View File

@ -16,11 +16,6 @@
<artifactId>material</artifactId>
<version>1.12.0</version>
</dependency>
<dependency>
<groupId>androidx.activity</groupId>
<artifactId>activity</artifactId>
<version>1.10.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>

View File

@ -1 +1 @@
60d1e90fbc713c9c110576ae3655176b
ef5dcdce78816a051042f06f7e4eedb3

View File

@ -1 +1 @@
c1332d4b5ca048a4f4d4402ad0a268ec79f7f4ef
d3c047edacedc424583b5ec5cfc624bcb440a259

View File

@ -1 +1 @@
98ff61047b09fd9a699ea4f0315392c7631858b3133ffb992d15afa91089c8e0
47034689b5b52816424d2c5327e5afe427d76f9dbfcded712bea9275f91a7bb6

View File

@ -1 +1 @@
51120a764f0c4d2055fb5c1e2baefe467ce30926443b9636439bbacda089c46b16b94c68055cad3ab110e0e38e57bebe7041eef462b22a1d3b76dc9811262db6
ba63b4e89b69709285b2ab63937b1b60c57ee5620979638818999bd314c563f2fa89b669267a42027025f3494ebbb69b9cc4a3dfc27903e4cef1a9aaba0f899f

View File

@ -8,6 +8,6 @@
<versions>
<version>1.0.0</version>
</versions>
<lastUpdated>20250730073112</lastUpdated>
<lastUpdated>20250730075341</lastUpdated>
</versioning>
</metadata>

View File

@ -1 +1 @@
864a7ed2afc4ecbb9ba58f13d5f6fbec
78a70c3f93a0edae99493d0f51e81dca

View File

@ -1 +1 @@
8fef2f1b61a88daa18000f6f7658823c3064d52b
97de51bc1d20a0ebf38daf12bcda3e88a50bf0a5

View File

@ -1 +1 @@
589d00c2dfd3aa907c049f7dc7c81eb4b79dbdaea61bea5eab7390d28bb568ea
c23d4623b34056d5e3d104e3df5cd43df391fb83490cf320bb642e923f3a863f

View File

@ -1 +1 @@
d3e74b64438f0b02dbb7a1690bd6da658a38792dfcea4e25e9cf3a754d1d17694e8f79859788f0f005fb66073582f3ff50c002c7994a22e21fa67efb358a571c
1dbb2860767418c2d7c6db76798199054c7628ee88b9c8a7c09f4ceeb8244c321969cd3cad8184848ac053bfa9052deb39cb848f1a384e43254df60c7440c9ce