2024-08-20 13:18:26 +08:00
|
|
|
android {
|
2024-06-27 14:28:33 +08:00
|
|
|
dexOptions {
|
|
|
|
jumboMode = true
|
|
|
|
javaMaxHeapSize "8g"
|
|
|
|
preDexLibraries = true
|
|
|
|
threadCount = 8
|
|
|
|
}
|
|
|
|
|
2024-06-20 14:02:15 +08:00
|
|
|
flavorDimensions 'packageApk'
|
|
|
|
productFlavors {
|
|
|
|
link_test {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.testServerHost,
|
|
|
|
isGooglePlay : 0,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
link_online {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.serverHost,
|
|
|
|
isGooglePlay : 0,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
samsung_test {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.testServerHost,
|
|
|
|
isGooglePlay : 3,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
samsung_online {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.serverHost,
|
|
|
|
isGooglePlay : 3,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
google_test {
|
|
|
|
dimension 'packageApk'
|
2024-08-20 15:18:54 +08:00
|
|
|
if (project.getPluginManager().hasPlugin("com.android.application")) {
|
2024-11-12 09:48:25 +08:00
|
|
|
applicationId "com.yhosolive.oy"
|
2024-08-20 15:18:54 +08:00
|
|
|
}
|
2024-06-20 14:02:15 +08:00
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.testServerHost,
|
|
|
|
isGooglePlay : 1,
|
|
|
|
isUploadLog : true,
|
2024-08-20 15:18:54 +08:00
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel,
|
2024-08-20 16:10:24 +08:00
|
|
|
facebook_app_id : "938330614686044",
|
|
|
|
facebook_client_token : "b1b574a2cdf0ced1ae5df7274636f65d",
|
|
|
|
lineChannelId : "2006123567"
|
2024-06-20 14:02:15 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
google_online {
|
|
|
|
dimension 'packageApk'
|
2024-08-20 13:18:26 +08:00
|
|
|
if (project.getPluginManager().hasPlugin("com.android.application")) {
|
2024-11-12 09:48:25 +08:00
|
|
|
applicationId "com.yhosolive.oy"
|
2024-08-20 13:18:26 +08:00
|
|
|
}
|
2024-06-20 14:02:15 +08:00
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.serverHost,
|
|
|
|
isGooglePlay : 1,
|
|
|
|
isUploadLog : true,
|
2024-08-20 15:18:54 +08:00
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel,
|
2024-08-20 16:10:24 +08:00
|
|
|
facebook_app_id : "938330614686044",
|
|
|
|
facebook_client_token : "b1b574a2cdf0ced1ae5df7274636f65d",
|
|
|
|
lineChannelId : "2006123567"
|
2024-06-20 14:02:15 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
huawei_test {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.testServerHost,
|
|
|
|
isGooglePlay : 2,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
huawei_online {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.serverHost,
|
|
|
|
isGooglePlay : 2,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|