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

This commit is contained in:
姜珂 2025-07-30 16:25:59 +08:00
parent 512608a01d
commit 9d5a41ae45
12 changed files with 22 additions and 21 deletions

View File

@ -41,8 +41,8 @@ dependencies {
api 'com.google.code.gson:gson:2.13.1'
//okhttp
api 'com.squareup.okhttp3:okhttp:5.1.0'
api 'com.squareup.okhttp3:logging-interceptor:5.1.0'
api 'com.squareup.okhttp3:okhttp:5.0.0-alpha.16'
api 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.16'
//
api 'com.github.bumptech.glide:glide:4.16.0'

View File

@ -27,6 +27,15 @@ androidJunkCode {
android {
buildTypes {
release {
minifyEnabled true //
shrinkResources true // 使
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'//
signingConfig signingConfigs.release
}
}
flavorDimensions "versionCode"
//
@ -100,14 +109,6 @@ android {
resValue "bool", "need_login", rootProject.ext.base["need_login"] //
}
buildTypes {
release {
minifyEnabled true //
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
android.applicationVariants.all { variant ->
variant.outputs.configureEach { output ->
// 1. flavor

View File

@ -24,12 +24,12 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>5.1.0</version>
<version>5.0.0-alpha.16</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>5.1.0</version>
<version>5.0.0-alpha.16</version>
</dependency>
<dependency>
<groupId>com.github.bumptech.glide</groupId>

View File

@ -1 +1 @@
7f332fee11c1dcd0b54ae5444da699e5
ef5dcdce78816a051042f06f7e4eedb3

View File

@ -1 +1 @@
6d063500051408eea24ae8cd657858ca0aa654fc
d3c047edacedc424583b5ec5cfc624bcb440a259

View File

@ -1 +1 @@
5b6a27edb81ca7042bd5b190512f2b461fa09d4430f04f3358fd32645de662c2
47034689b5b52816424d2c5327e5afe427d76f9dbfcded712bea9275f91a7bb6

View File

@ -1 +1 @@
f92232ea0fdcf1d2855a1d31f595dceb51c8bdc4990a9d992a6f07d31ae287ea1012bb5714b118aac999b68d62a9b1d839a7c8c7b6a2697364fad4011f615cf4
ba63b4e89b69709285b2ab63937b1b60c57ee5620979638818999bd314c563f2fa89b669267a42027025f3494ebbb69b9cc4a3dfc27903e4cef1a9aaba0f899f

View File

@ -8,6 +8,6 @@
<versions>
<version>1.0.0</version>
</versions>
<lastUpdated>20250730082006</lastUpdated>
<lastUpdated>20250730082520</lastUpdated>
</versioning>
</metadata>

View File

@ -1 +1 @@
c8a3059bad6536c2df155762a90c0c7f
a8f8f1e1e1d68d5d1fc4cd937dba962d

View File

@ -1 +1 @@
ac6bd6e06cd506734a1535d1dc3c1c31b3513bb8
3341df1056b73b9f594146d266d2923dda749252

View File

@ -1 +1 @@
649b6eb3f14ca9af79cfa94ed9a2fef9ef6d7f7b1b217cc2dd390df435b08ec6
503ef506b26d807602fe779d9d0d5e1f8f73c28d16fb003ca1b8fd73e46658cb

View File

@ -1 +1 @@
c0db39eb80a8046890fce582517deac088f1d32a8420872d394f0a0c69ea990b3190cd9642e12272e828bec6f6a8028560afb8643e0ae8d77db26e7f1a41cd26
558c455f7f7f4f274745ed1ed75063311b2dd6a9245850e7aa62cb440c50dda0177ffad9b8bb2e82e251ca2c3758265329aba1bc8c888160be0009cd5466c14c