1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006 |
- import java.text.SimpleDateFormat
- def getCurrentTime() {
- return new Date().time
- }
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- id 'kotlin-kapt'
- id 'kotlinx-serialization'
- id 'com.alibaba.arouter'
- }
- ext {
- versionCode = Integer.parseInt(new SimpleDateFormat("yyMMddHH").format(new Date()) + 1)
- // versionCode=230617180
- // brandCode="054A"
- brandCode = "000A"
- // model = "5037"
- model = "1039"
- }
- android {
- compileSdk 31
- lintOptions {
- checkReleaseBuilds false
- }
- defaultConfig {
- applicationId "com.develop.foodcooking"
- minSdk 21
- targetSdk 31
- versionCode project.ext.versionCode
- versionName "${project.ext.model}.${project.ext.brandCode}.${project.ext.versionCode}"
- archivesBaseName = "cofar-cooking_${versionName}"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
- }
- }
- ndk {
- abiFilters 'armeabi-v7a'
- }
- packagingOptions {
- pickFirst 'lib/armeabi-v7a/libc++_shared.so'
- }
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- kapt {
- arguments {
- arg("AROUTER_MODULE_NAME", project.getName())
- arg("room.schemaLocation", "$projectDir/schemas".toString())
- }
- }
- multiDexEnabled true
- }
- flavorDimensions "platform"
- productFlavors {
- brand000ATuya {
- manifestPlaceholders = [channelName: "brand000ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"000A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand000A5037Tuya {
- manifestPlaceholders = [channelName: "brand000A5037Tuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"000A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand000A5067Tuya {
- manifestPlaceholders = [channelName: "brand000A5067Tuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "model", "\"5067\"")
- buildConfigField("String", "brandCode", "\"000A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand045ATuya {
- manifestPlaceholders = [channelName: "brand045ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"045A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- // brand011ATuya {
- // dimension "platform"
- // applicationId "com.develop.foodcooking"
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/Splash007DTheme")
- //
- // }
- brand011ATuya {
- manifestPlaceholders = [channelName: "brand011ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"011\"")
- resValue("string", "app_theme", "@style/Splash011ATheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"011A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand011A5037Tuya {
- manifestPlaceholders = [channelName: "brand011A5037Tuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"011\"")
- resValue("string", "app_theme", "@style/Splash011A5037Theme")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"011A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand011DTuya {
- manifestPlaceholders = [channelName: "brand011DTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"011\"")
- resValue("string", "app_theme", "@style/Splash011DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"011D\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand011ETuya {
- manifestPlaceholders = [channelName: "brand011ETuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"011\"")
- resValue("string", "app_theme", "@style/Splash011ETheme")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"011E\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand014ATuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"014A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand017ATuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash017Theme")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand030ATuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"030A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand029CTuya {
- manifestPlaceholders = [channelName: "brand029CTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"029C\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand029C5037Tuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"029C\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand036I {
- manifestPlaceholders = [channelName: "brand036I"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"036I\"")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"036I\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand036ITuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"036I\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"036I\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand033FTuya {
- manifestPlaceholders = [channelName: "brand033FTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"033F\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand033ITuya {
- manifestPlaceholders = [channelName: "brand033ITuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"033I\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand033KTuya {
- manifestPlaceholders = [channelName: "brand033KTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"033K\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand033HTuya {
- manifestPlaceholders = [channelName: "brand033HTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"033H\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand033GTuya {
- manifestPlaceholders = [channelName: "brand033GTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"033G\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand000A {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"000A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand010D {
- manifestPlaceholders = [channelName: "brand010D"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash010DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"010D\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand010I {
- manifestPlaceholders = [channelName: "brand010I"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash010DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"010I\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand010F {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash010DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"010F\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand010DUpdate {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash010DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"010D\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand010FUpdate {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash010DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"010F\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand025ATuya {
- manifestPlaceholders = [channelName: "brand025ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"025A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- brand030A {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- resValue("string", "app_theme", "@style/SplashTheme")
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"030A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand032DTuya {
- manifestPlaceholders = [channelName: "brand032DTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash032DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"032D\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand032D {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash032DTheme")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand032ETuya {
- manifestPlaceholders = [channelName: "brand032ETuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash032DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"032E\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand002DTuya {
- manifestPlaceholders = [channelName: "brand002DTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash002DTheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"002D\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand007DTuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/Splash007DTheme")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand049BTuya {
- manifestPlaceholders = [channelName: "brand049BTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "brandCode", "\"049B\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand053A {
- manifestPlaceholders = [channelName: "brand053A"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "brandCode", "\"053A\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand054ATuya {
- manifestPlaceholders = [channelName: "brand054ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash054ATheme")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"054A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand054A5037Tuya {
- manifestPlaceholders = [channelName: "brand054A5037Tuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/Splash054ATheme")
- buildConfigField("String", "model", "\"5037\"")
- buildConfigField("String", "brandCode", "\"054A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- brand058A {
- manifestPlaceholders = [channelName: "brand058A"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- resValue("string", "app_theme", "@style/Splash062ATheme")
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"058A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- brand062ATuya {
- manifestPlaceholders = [channelName: "brand062ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- resValue("string", "app_theme", "@style/Splash062ATheme")
- buildConfigField("String", "UpdatePlatform", "\"062A\"")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"062A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- brand063ATuya {
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"063A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- brand063BTuya {
- manifestPlaceholders = [channelName: "brand063BTuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"normal\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"063B\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- brand077ATuya {
- manifestPlaceholders = [channelName: "brand077ATuya"]
- dimension "platform"
- applicationId "com.develop.foodcooking"
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"077A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // buildConfigField("String", "appCode", "\"2.01\"")
- }
- }
- // sourceSets {
- // main {
- // manifest.srcFile 'src/main/AndroidManifest.xml'
- // java.srcDirs = ['src/main/java']
- // resources.srcDirs = ['src/main/resources']
- // aidl.srcDirs = ['src/main/aidl']
- // renderscript.srcDirs = ['src/maom']
- // res.srcDirs = ['src/main/res']
- // assets.srcDirs = ['src/main/assets']
- // jniLibs.srcDir 'src/main/jniLibs'
- // }
- //
- // //用各自对应的资源文件路径
- // brand011ATuya.res.srcDirs = ['src/main/res-zerooneone']
- //// huawei.res.srcDirs = ['src/main/res-huawei']
- //
- // // Move the tests to tests/java, tests/res, etc...
- // androidTest.setRoot('tests')
- // // Move the build types to build-types/<type>
- // // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
- // // This moves them out of them default location under src/<type>/... which would
- // // conflict with src/ being used by the main source set.
- // // Adding new build types or product flavors should be accompanied
- // // by a similar customization.
- // debug.setRoot('build-types/debug')
- // release.setRoot('build-types/release')
- // }
- signingConfigs {
- debug {
- storeFile file('..\\signature\\rk.jks')
- storePassword '123456'
- keyAlias 'rk'
- keyPassword '123456'
- }
- foodCooking {
- storeFile file("..\\signature\\rk.jks")
- storePassword '123456'
- keyAlias 'rk'
- keyPassword '123456'
- }
- release {
- storeFile file('..\\signature\\rk.jks')
- storePassword '123456'
- keyAlias 'rk'
- keyPassword '123456'
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- debuggable true
- productFlavors.brand010D.signingConfig signingConfigs.release
- productFlavors.brand029CTuya.signingConfig signingConfigs.release
- productFlavors.brand000ATuya.signingConfig signingConfigs.release
- productFlavors.brand030A.signingConfig signingConfigs.release
- productFlavors.brand011ATuya.signingConfig signingConfigs.release
- productFlavors.brand036ITuya.signingConfig signingConfigs.release
- productFlavors.brand030ATuya.signingConfig signingConfigs.release
- productFlavors.brand017ATuya.signingConfig signingConfigs.release
- productFlavors.brand036I.signingConfig signingConfigs.release
- productFlavors.brand000A.signingConfig signingConfigs.release
- productFlavors.brand045ATuya.signingConfig signingConfigs.release
- productFlavors.brand032DTuya.signingConfig signingConfigs.release
- productFlavors.brand032D.signingConfig signingConfigs.release
- productFlavors.brand063ATuya.signingConfig signingConfigs.release
- productFlavors.brand002DTuya.signingConfig signingConfigs.release
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- debuggable true
- productFlavors.brand032DTuya.signingConfig signingConfigs.debug
- // buildConfigField("String", "UpdatePlatform", "\"054A\"")
- ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
- // resValue("string", "app_theme", "@style/Splash054ATheme")
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"017A\"")
- // //versionCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- // resValue("string", "app_theme", "@style/SplashTheme")
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // buildConfigField("String", "model", "\"5037\"")
- // buildConfigField("String", "brandCode", "\"000A\"")
- // //versionCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- //// buildConfigField("String", "appCode", "\"2.01\"")
- // manifestPlaceholders = [channelName: "brand0062ATuya"]
- // resValue("string", "app_theme", "@style/Splash062ATheme")
- // buildConfigField("String", "UpdatePlatform", "\"062A\"")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"062A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- //
- // manifestPlaceholders = [channelName: "brand000ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"000A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand000ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashTheme")
- // buildConfigField("String", "model", "\"5067\"")
- // buildConfigField("String", "brandCode", "\"000A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand011ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"011\"")
- // resValue("string", "app_theme", "@style/Splash011ATheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"011A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand011DTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"011\"")
- // resValue("string", "app_theme", "@style/Splash011DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"011D\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand032DTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/Splash032DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"032D\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- //
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/Splash010DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"010D\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/Splash010DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"010F\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "UpdatePlatform", "\"011A\"")
- // resValue("string", "app_theme", "@style/Splash011ATheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"011A\"")
- // // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"030A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"014A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- //
- // manifestPlaceholders = [channelName: "brand033HTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"033H\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- // manifestPlaceholders = [channelName: "brand033FTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"033F\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand029CTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"029C\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand033ITuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"033I\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "appCode", "\"2.01\"")
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"049B\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- //
- //
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand036I"]
- // buildConfigField("String", "UpdatePlatform", "\"036I\"")
- // resValue("string", "app_theme", "@style/Splash036IDTheme")
- // ` buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"036I\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand011ETuya"]
- // buildConfigField("String", "UpdatePlatform", "\"011\"")
- // resValue("string", "app_theme", "@style/Splash011ETheme")
- // buildConfigField("String", "model", "\"5037\"")
- // buildConfigField("String", "brandCode", "\"011E\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand045ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"5037\"")
- // buildConfigField("String", "brandCode", "\"045A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand010D"]
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/Splash010DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"010D\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand002DTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/Splash002DTheme")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"002D\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- ////
- // manifestPlaceholders = [channelName: "brand063BTuya"]
- // buildConfigField("String", "UpdatePlatform", "\"normal\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"063B\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- //
- manifestPlaceholders = [channelName: "brand053A"]
- buildConfigField("String", "UpdatePlatform", "\"night\"")
- resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- buildConfigField("String", "model", "\"1039\"")
- buildConfigField("String", "brandCode", "\"053A\"")
- //appCode 1.01 指向bug修复,2.01指向功能变更
- buildConfigField("String", "appCode", "\"1.01\"")
- // manifestPlaceholders = [channelName: "brand054ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/Splash054ATheme")
- // buildConfigField("String", "model", "\"5037\"")
- // buildConfigField("String", "brandCode", "\"054A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand025ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"025A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- // manifestPlaceholders = [channelName: "brand077ATuya"]
- // buildConfigField("String", "UpdatePlatform", "\"night\"")
- // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
- // buildConfigField("String", "model", "\"1039\"")
- // buildConfigField("String", "brandCode", "\"077A\"")
- // //appCode 1.01 指向bug修复,2.01指向功能变更
- // buildConfigField("String", "appCode", "\"1.01\"")
- // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- viewBinding {
- enabled = true
- }
- }
- dependencies {
- implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
- implementation project(path: ':BusinessCommon')//业务相关的基础类
- implementation project(path: ':BusinessMain') //烹饪主模块
- implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
- implementation project(path: ':BusinessSetting') //设置模块
- implementation project(path: ':BusinessStep') //烹饪步骤模块
- kapt 'com.alibaba:arouter-compiler:1.5.2'
- }
|