feat:随便修改包名/签名,准备换目录名

This commit is contained in:
Max
2023-11-23 10:52:28 +08:00
parent 95ab273750
commit 157d71edcd
3 changed files with 44 additions and 33 deletions

View File

@@ -11,7 +11,7 @@ android {
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
defaultConfig {
applicationId "com.vele.habuplay"
applicationId "com.example.live"
minSdkVersion MIN_SDK_VERSION.toInteger()
targetSdkVersion TARGET_SDK_VERSION.toInteger()
versionCode Integer.valueOf(version_code)
@@ -78,27 +78,27 @@ android {
enabled = true
}
signingConfigs {
v2 {
storeFile file('../ananplay.jks')
storePassword "vele2021"
keyAlias "ananplay"
keyPassword "vele2021"
v2SigningEnabled true
v1SigningEnabled true
}
v1 {
storeFile file('../ananplay.jks')
storePassword "vele2021"
keyAlias "ananplay"
keyPassword "vele2021"
v2SigningEnabled false
v1SigningEnabled true
}
}
// signingConfigs {
//
// v2 {
// storeFile file('../ananplay.jks')
// storePassword "vele2021"
// keyAlias "ananplay"
// keyPassword "vele2021"
// v2SigningEnabled true
// v1SigningEnabled true
// }
//
// v1 {
// storeFile file('../ananplay.jks')
// storePassword "vele2021"
// keyAlias "ananplay"
// keyPassword "vele2021"
// v2SigningEnabled false
// v1SigningEnabled true
// }
//
// }
sourceSets {
@@ -163,7 +163,7 @@ android {
minifyEnabled minify_enabled.toBoolean() // 是否混淆
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
crunchPngs false // 停用 PNG 压缩
signingConfig signingConfigs.v2
// signingConfig signingConfigs.v2
gradle.taskGraph.whenReady {
tasks.each { task ->
if (task.name.contains("Test") || task.name.contains("Lint")) {
@@ -189,7 +189,7 @@ android {
shrinkResources true // 开了混淆的时候才能开启 是否去除无效的资源文件
zipAlignEnabled true // 开了混淆的时候才能开启 是否进行压缩并重排列
crunchPngs true // 启用 PNG 压缩
signingConfig signingConfigs.v2
// signingConfig signingConfigs.v2
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View File

@@ -1,8 +1,10 @@
apply plugin: 'com.mob.sdk'
MobSDK {
appKey "32fd2f8457880"
appSecret "ef796ca85e8cd95a76929663de133214"
// appKey "32fd2f8457880"
// appSecret "ef796ca85e8cd95a76929663de133214"
appKey ""
appSecret ""
appBundleMode true
// MobLink {
// uriScheme "ananplay://sharesdk"
@@ -13,19 +15,28 @@ MobSDK {
//平台配置信息
gui false
devInfo {
GooglePlus {
appId "280420698373-najdbkk7ju8lg8f6gg4bnll8nf7l0i2c.apps.googleusercontent.com"
appId "...com"
callbackUri "http://localhost"
officialVersion "default"
enable true
}
// GooglePlus {
// appId "280420698373-najdbkk7ju8lg8f6gg4bnll8nf7l0i2c.apps.googleusercontent.com"
// callbackUri "http://localhost"
// officialVersion "default"
// enable true
// }
Line {
appId "1655904857"
appSecret "392a9cada6f63a88a0f34a8e479364e1"
appId ""
appSecret ""
enable true
}
// Line {
// appId "1655904857"
// appSecret "392a9cada6f63a88a0f34a8e479364e1"
// enable true
// }
}
}

View File

@@ -10,7 +10,7 @@
<Twitter Enable="false" />
<Evernote Enable="false" />
<FourSquare Enable="false" />
<GooglePlus OfficialVersion="default" Enable="true" ClientID="280420698373-najdbkk7ju8lg8f6gg4bnll8nf7l0i2c.apps.googleusercontent.com" RedirectUrl="http://localhost" />
<GooglePlus OfficialVersion="default" Enable="true" ClientID="...com" RedirectUrl="http://localhost" />
<Instagram Enable="false" />
<LinkedIn Enable="false" />
<Tumblr Enable="false" />
@@ -30,7 +30,7 @@
<Yixin Enable="false" />
<YixinMoments Enable="false" />
<Mingdao Enable="false" />
<Line Enable="true" ChannelID="1655904857" ChannelSecret="392a9cada6f63a88a0f34a8e479364e1" />
<Line Enable="true" ChannelID="" ChannelSecret="" />
<WhatsApp Enable="false" />
<KakaoTalk Enable="false" />
<KakaoStory Enable="false" />