enable proguard

This commit is contained in:
renhaoting 2026-01-14 15:21:10 +08:00
parent c7482eda72
commit 4912fddee0
2 changed files with 6 additions and 2 deletions

View File

@ -28,11 +28,15 @@ android {
minifyEnabled false
}
release {
minifyEnabled false
minifyEnabled true
debuggable false
firebaseCrashlytics {
mappingFileUploadEnabled false
}
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}

View File

@ -24,7 +24,7 @@ ext {
// TopOn配置
topon = [applicationId: "h1h0ukemtu13ak", // TopOn ID
appKey : "7d3af77b0803cbc641888cb393e8652e", // TopOn
adUnitIds : [ interstitial: "", //"n1h0ukemvrnhn1", // 广 ID // TODO- if use this alway report error: placementId maybe is null
adUnitIds : [ interstitial: "n1h0ukemvrnhn1", //"n1h0ukemvrnhn1", // 广 ID // TODO- if use this alway report error: placementId maybe is null
rewarded : "n1h0uken0i262r", // 广 ID
native : "", // 广 ID
splash : "", // 广 ID