2024-06-20 18:04:54 +08:00
|
|
|
android{
|
2024-08-01 13:08:08 +08:00
|
|
|
dexOptions {
|
|
|
|
jumboMode = true
|
|
|
|
javaMaxHeapSize "8g"
|
|
|
|
preDexLibraries = true
|
|
|
|
threadCount = 8
|
|
|
|
}
|
|
|
|
|
2024-06-20 18:04:54 +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
|
|
|
|
]
|
|
|
|
}
|
|
|
|
google_test {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.testServerHost,
|
|
|
|
isGooglePlay : 1,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
google_online {
|
|
|
|
dimension 'packageApk'
|
|
|
|
manifestPlaceholders = [
|
|
|
|
serverHost : rootProject.ext.manifestPlaceholders.serverHost,
|
|
|
|
isGooglePlay : 1,
|
|
|
|
isUploadLog : true,
|
|
|
|
isPluginModel: rootProject.ext.manifestPlaceholders.isPluginModel
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|