build.gradle 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. import java.text.SimpleDateFormat
  2. def getCurrentTime() {
  3. return new Date().time
  4. }
  5. plugins {
  6. id 'com.android.application'
  7. id 'org.jetbrains.kotlin.android'
  8. id 'kotlin-kapt'
  9. id 'kotlinx-serialization'
  10. id 'com.alibaba.arouter'
  11. }
  12. ext {
  13. versionCode = Integer.parseInt(new SimpleDateFormat("yyMMddHH").format(new Date()) + 1)
  14. // versionCode=230617180
  15. // brandCode="000B"
  16. brandCode = "010I"
  17. // model = "5037"
  18. model = "1039"
  19. }
  20. android {
  21. compileSdk 31
  22. lintOptions {
  23. checkReleaseBuilds false
  24. }
  25. defaultConfig {
  26. applicationId "com.develop.foodcooking"
  27. minSdk 21
  28. targetSdk 31
  29. versionCode project.ext.versionCode
  30. versionName "${project.ext.model}.${project.ext.brandCode}.${project.ext.versionCode}"
  31. archivesBaseName = "cofar-cooking_${versionName}"
  32. javaCompileOptions {
  33. annotationProcessorOptions {
  34. arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
  35. }
  36. }
  37. ndk {
  38. abiFilters 'armeabi-v7a'
  39. }
  40. packagingOptions {
  41. pickFirst 'lib/armeabi-v7a/libc++_shared.so'
  42. }
  43. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  44. kapt {
  45. arguments {
  46. arg("AROUTER_MODULE_NAME", project.getName())
  47. arg("room.schemaLocation", "$projectDir/schemas".toString())
  48. }
  49. }
  50. multiDexEnabled true
  51. }
  52. flavorDimensions "platform"
  53. productFlavors {
  54. brand000ATuya {
  55. manifestPlaceholders = [channelName: "brand000ATuya"]
  56. dimension "platform"
  57. applicationId "com.develop.foodcooking"
  58. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  59. resValue("string", "app_theme", "@style/SplashTheme")
  60. buildConfigField("String", "model", "\"1039\"")
  61. buildConfigField("String", "brandCode", "\"000A\"")
  62. //appCode 1.01 指向bug修复,2.01指向功能变更
  63. buildConfigField("String", "appCode", "\"1.01\"")
  64. // buildConfigField("String", "appCode", "\"2.01\"")
  65. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  66. }
  67. brand000BTuya {
  68. manifestPlaceholders = [channelName: "brand000BTuya"]
  69. dimension "platform"
  70. applicationId "com.develop.foodcooking"
  71. buildConfigField("String", "UpdatePlatform", "\"night\"")
  72. resValue("string", "app_theme", "@style/SplashTheme")
  73. buildConfigField("String", "model", "\"1039\"")
  74. buildConfigField("String", "brandCode", "\"000B\"")
  75. //appCode 1.01 指向bug修复,2.01指向功能变更
  76. buildConfigField("String", "appCode", "\"1.01\"")
  77. // buildConfigField("String", "appCode", "\"2.01\"")
  78. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  79. }
  80. brand000A5037Tuya {
  81. manifestPlaceholders = [channelName: "brand000A5037Tuya"]
  82. dimension "platform"
  83. applicationId "com.develop.foodcooking"
  84. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  85. resValue("string", "app_theme", "@style/SplashTheme")
  86. buildConfigField("String", "model", "\"5037\"")
  87. buildConfigField("String", "brandCode", "\"000A\"")
  88. //appCode 1.01 指向bug修复,2.01指向功能变更
  89. buildConfigField("String", "appCode", "\"1.01\"")
  90. // buildConfigField("String", "appCode", "\"2.01\"")
  91. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  92. }
  93. brand000B5037Tuya {
  94. manifestPlaceholders = [channelName: "brand000B5037Tuya"]
  95. dimension "platform"
  96. applicationId "com.develop.foodcooking"
  97. buildConfigField("String", "UpdatePlatform", "\"night\"")
  98. resValue("string", "app_theme", "@style/SplashTheme")
  99. buildConfigField("String", "model", "\"5037\"")
  100. buildConfigField("String", "brandCode", "\"000B\"")
  101. //appCode 1.01 指向bug修复,2.01指向功能变更
  102. buildConfigField("String", "appCode", "\"1.01\"")
  103. // buildConfigField("String", "appCode", "\"2.01\"")
  104. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  105. }
  106. brand000A5067Tuya {
  107. manifestPlaceholders = [channelName: "brand000A5067Tuya"]
  108. dimension "platform"
  109. applicationId "com.develop.foodcooking"
  110. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  111. resValue("string", "app_theme", "@style/SplashTheme")
  112. buildConfigField("String", "model", "\"5067\"")
  113. buildConfigField("String", "brandCode", "\"000A\"")
  114. //appCode 1.01 指向bug修复,2.01指向功能变更
  115. buildConfigField("String", "appCode", "\"1.01\"")
  116. // buildConfigField("String", "appCode", "\"2.01\"")
  117. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  118. }
  119. brand045ATuya {
  120. manifestPlaceholders = [channelName: "brand045ATuya"]
  121. dimension "platform"
  122. applicationId "com.develop.foodcooking"
  123. buildConfigField("String", "UpdatePlatform", "\"night\"")
  124. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  125. buildConfigField("String", "model", "\"5037\"")
  126. buildConfigField("String", "brandCode", "\"045A\"")
  127. //appCode 1.01 指向bug修复,2.01指向功能变更
  128. buildConfigField("String", "appCode", "\"1.01\"")
  129. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  130. }
  131. // brand011ATuya {
  132. // dimension "platform"
  133. // applicationId "com.develop.foodcooking"
  134. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  135. // resValue("string", "app_theme", "@style/Splash007DTheme")
  136. //
  137. // }
  138. brand011ATuya {
  139. manifestPlaceholders = [channelName: "brand011ATuya"]
  140. dimension "platform"
  141. applicationId "com.develop.foodcooking"
  142. buildConfigField("String", "UpdatePlatform", "\"011\"")
  143. resValue("string", "app_theme", "@style/Splash011ATheme")
  144. buildConfigField("String", "model", "\"1039\"")
  145. buildConfigField("String", "brandCode", "\"011A\"")
  146. //appCode 1.01 指向bug修复,2.01指向功能变更
  147. buildConfigField("String", "appCode", "\"1.01\"")
  148. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  149. }
  150. brand011A5037Tuya {
  151. manifestPlaceholders = [channelName: "brand011A5037Tuya"]
  152. dimension "platform"
  153. applicationId "com.develop.foodcooking"
  154. buildConfigField("String", "UpdatePlatform", "\"011\"")
  155. resValue("string", "app_theme", "@style/Splash011A5037Theme")
  156. buildConfigField("String", "model", "\"5037\"")
  157. buildConfigField("String", "brandCode", "\"011A\"")
  158. //appCode 1.01 指向bug修复,2.01指向功能变更
  159. buildConfigField("String", "appCode", "\"1.01\"")
  160. // buildConfigField("String", "appCode", "\"2.01\"")
  161. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  162. }
  163. brand011DTuya {
  164. manifestPlaceholders = [channelName: "brand011DTuya"]
  165. dimension "platform"
  166. applicationId "com.develop.foodcooking"
  167. buildConfigField("String", "UpdatePlatform", "\"011\"")
  168. resValue("string", "app_theme", "@style/Splash011DTheme")
  169. buildConfigField("String", "model", "\"1039\"")
  170. buildConfigField("String", "brandCode", "\"011D\"")
  171. //appCode 1.01 指向bug修复,2.01指向功能变更
  172. buildConfigField("String", "appCode", "\"1.01\"")
  173. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  174. }
  175. brand011FTuya {
  176. manifestPlaceholders = [channelName: "brand011FTuya"]
  177. dimension "platform"
  178. applicationId "com.develop.foodcooking"
  179. buildConfigField("String", "UpdatePlatform", "\"011\"")
  180. resValue("string", "app_theme", "@style/Splash011DTheme")
  181. buildConfigField("String", "model", "\"1039\"")
  182. buildConfigField("String", "brandCode", "\"011F\"")
  183. //appCode 1.01 指向bug修复,2.01指向功能变更
  184. buildConfigField("String", "appCode", "\"1.01\"")
  185. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  186. }
  187. brand011ETuya {
  188. manifestPlaceholders = [channelName: "brand011ETuya"]
  189. dimension "platform"
  190. applicationId "com.develop.foodcooking"
  191. buildConfigField("String", "UpdatePlatform", "\"011\"")
  192. resValue("string", "app_theme", "@style/Splash011ETheme")
  193. buildConfigField("String", "model", "\"5037\"")
  194. buildConfigField("String", "brandCode", "\"011E\"")
  195. //appCode 1.01 指向bug修复,2.01指向功能变更
  196. buildConfigField("String", "appCode", "\"1.01\"")
  197. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  198. }
  199. brand014ATuya {
  200. dimension "platform"
  201. applicationId "com.develop.foodcooking"
  202. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  203. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  204. buildConfigField("String", "model", "\"1039\"")
  205. buildConfigField("String", "brandCode", "\"014A\"")
  206. //appCode 1.01 指向bug修复,2.01指向功能变更
  207. buildConfigField("String", "appCode", "\"1.01\"")
  208. // buildConfigField("String", "appCode", "\"2.01\"")
  209. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  210. }
  211. brand017ATuya {
  212. dimension "platform"
  213. applicationId "com.develop.foodcooking"
  214. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  215. resValue("string", "app_theme", "@style/Splash017Theme")
  216. //appCode 1.01 指向bug修复,2.01指向功能变更
  217. buildConfigField("String", "appCode", "\"1.01\"")
  218. // buildConfigField("String", "appCode", "\"2.01\"")
  219. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  220. }
  221. brand030ATuya {
  222. dimension "platform"
  223. applicationId "com.develop.foodcooking"
  224. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  225. resValue("string", "app_theme", "@style/SplashTheme")
  226. buildConfigField("String", "model", "\"1039\"")
  227. buildConfigField("String", "brandCode", "\"030A\"")
  228. //appCode 1.01 指向bug修复,2.01指向功能变更
  229. buildConfigField("String", "appCode", "\"1.01\"")
  230. // buildConfigField("String", "appCode", "\"2.01\"")
  231. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  232. }
  233. brand029CTuya {
  234. manifestPlaceholders = [channelName: "brand029CTuya"]
  235. dimension "platform"
  236. applicationId "com.develop.foodcooking"
  237. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  238. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  239. buildConfigField("String", "model", "\"1039\"")
  240. buildConfigField("String", "brandCode", "\"029C\"")
  241. //appCode 1.01 指向bug修复,2.01指向功能变更
  242. buildConfigField("String", "appCode", "\"1.01\"")
  243. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  244. }
  245. brand029C5037Tuya {
  246. dimension "platform"
  247. applicationId "com.develop.foodcooking"
  248. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  249. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  250. buildConfigField("String", "model", "\"5037\"")
  251. buildConfigField("String", "brandCode", "\"029C\"")
  252. //appCode 1.01 指向bug修复,2.01指向功能变更
  253. buildConfigField("String", "appCode", "\"1.01\"")
  254. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  255. }
  256. brand036I {
  257. manifestPlaceholders = [channelName: "brand036I"]
  258. dimension "platform"
  259. applicationId "com.develop.foodcooking"
  260. buildConfigField("String", "UpdatePlatform", "\"036I\"")
  261. buildConfigField("String", "model", "\"1039\"")
  262. buildConfigField("String", "brandCode", "\"036I\"")
  263. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  264. //appCode 1.01 指向bug修复,2.01指向功能变更
  265. buildConfigField("String", "appCode", "\"1.01\"")
  266. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  267. }
  268. brand036ITuya {
  269. dimension "platform"
  270. applicationId "com.develop.foodcooking"
  271. buildConfigField("String", "UpdatePlatform", "\"036I\"")
  272. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  273. buildConfigField("String", "model", "\"1039\"")
  274. buildConfigField("String", "brandCode", "\"036I\"")
  275. //appCode 1.01 指向bug修复,2.01指向功能变更
  276. buildConfigField("String", "appCode", "\"1.01\"")
  277. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  278. }
  279. brand033FTuya {
  280. manifestPlaceholders = [channelName: "brand033FTuya"]
  281. dimension "platform"
  282. applicationId "com.develop.foodcooking"
  283. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  284. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  285. buildConfigField("String", "model", "\"1039\"")
  286. buildConfigField("String", "brandCode", "\"033F\"")
  287. //appCode 1.01 指向bug修复,2.01指向功能变更
  288. buildConfigField("String", "appCode", "\"1.01\"")
  289. // buildConfigField("String", "appCode", "\"2.01\"")
  290. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  291. }
  292. brand033ITuya {
  293. manifestPlaceholders = [channelName: "brand033ITuya"]
  294. dimension "platform"
  295. applicationId "com.develop.foodcooking"
  296. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  297. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  298. buildConfigField("String", "model", "\"1039\"")
  299. buildConfigField("String", "brandCode", "\"033I\"")
  300. //appCode 1.01 指向bug修复,2.01指向功能变更
  301. buildConfigField("String", "appCode", "\"1.01\"")
  302. // buildConfigField("String", "appCode", "\"2.01\"")
  303. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  304. }
  305. brand033KTuya {
  306. manifestPlaceholders = [channelName: "brand033KTuya"]
  307. dimension "platform"
  308. applicationId "com.develop.foodcooking"
  309. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  310. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  311. buildConfigField("String", "model", "\"1039\"")
  312. buildConfigField("String", "brandCode", "\"033K\"")
  313. //appCode 1.01 指向bug修复,2.01指向功能变更
  314. buildConfigField("String", "appCode", "\"1.01\"")
  315. // buildConfigField("String", "appCode", "\"2.01\"")
  316. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  317. }
  318. brand033HTuya {
  319. manifestPlaceholders = [channelName: "brand033HTuya"]
  320. dimension "platform"
  321. applicationId "com.develop.foodcooking"
  322. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  323. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  324. buildConfigField("String", "model", "\"1039\"")
  325. buildConfigField("String", "brandCode", "\"033H\"")
  326. //appCode 1.01 指向bug修复,2.01指向功能变更
  327. buildConfigField("String", "appCode", "\"1.01\"")
  328. // buildConfigField("String", "appCode", "\"2.01\"")
  329. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  330. }
  331. brand033GTuya {
  332. manifestPlaceholders = [channelName: "brand033GTuya"]
  333. dimension "platform"
  334. applicationId "com.develop.foodcooking"
  335. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  336. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  337. buildConfigField("String", "model", "\"1039\"")
  338. buildConfigField("String", "brandCode", "\"033G\"")
  339. //appCode 1.01 指向bug修复,2.01指向功能变更
  340. buildConfigField("String", "appCode", "\"1.01\"")
  341. // buildConfigField("String", "appCode", "\"2.01\"")
  342. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  343. }
  344. brand000A {
  345. dimension "platform"
  346. applicationId "com.develop.foodcooking"
  347. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  348. resValue("string", "app_theme", "@style/SplashTheme")
  349. buildConfigField("String", "model", "\"1039\"")
  350. buildConfigField("String", "brandCode", "\"000A\"")
  351. //appCode 1.01 指向bug修复,2.01指向功能变更
  352. buildConfigField("String", "appCode", "\"1.01\"")
  353. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  354. }
  355. brand010D {
  356. manifestPlaceholders = [channelName: "brand010D"]
  357. dimension "platform"
  358. applicationId "com.develop.foodcooking"
  359. buildConfigField("String", "UpdatePlatform", "\"night\"")
  360. resValue("string", "app_theme", "@style/Splash010DTheme")
  361. buildConfigField("String", "model", "\"1039\"")
  362. buildConfigField("String", "brandCode", "\"010D\"")
  363. //appCode 1.01 指向bug修复,2.01指向功能变更
  364. buildConfigField("String", "appCode", "\"1.01\"")
  365. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  366. }
  367. brand010H {
  368. manifestPlaceholders = [channelName: "brand010H"]
  369. dimension "platform"
  370. applicationId "com.develop.foodcooking"
  371. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  372. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  373. buildConfigField("String", "model", "\"1039\"")
  374. buildConfigField("String", "brandCode", "\"010H\"")
  375. //appCode 1.01 指向bug修复,2.01指向功能变更
  376. buildConfigField("String", "appCode", "\"1.01\"")
  377. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  378. }
  379. brand010I {
  380. manifestPlaceholders = [channelName: "brand010I"]
  381. dimension "platform"
  382. applicationId "com.develop.foodcooking"
  383. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  384. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  385. buildConfigField("String", "model", "\"1039\"")
  386. buildConfigField("String", "brandCode", "\"010I\"")
  387. //appCode 1.01 指向bug修复,2.01指向功能变更
  388. buildConfigField("String", "appCode", "\"1.01\"")
  389. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  390. }
  391. brand010F {
  392. dimension "platform"
  393. applicationId "com.develop.foodcooking"
  394. buildConfigField("String", "UpdatePlatform", "\"night\"")
  395. resValue("string", "app_theme", "@style/Splash010DTheme")
  396. buildConfigField("String", "model", "\"1039\"")
  397. buildConfigField("String", "brandCode", "\"010F\"")
  398. //appCode 1.01 指向bug修复,2.01指向功能变更
  399. buildConfigField("String", "appCode", "\"1.01\"")
  400. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  401. }
  402. brand010DUpdate {
  403. dimension "platform"
  404. applicationId "com.develop.foodcooking"
  405. buildConfigField("String", "UpdatePlatform", "\"night\"")
  406. resValue("string", "app_theme", "@style/Splash010DTheme")
  407. buildConfigField("String", "model", "\"1039\"")
  408. buildConfigField("String", "brandCode", "\"010D\"")
  409. //appCode 1.01 指向bug修复,2.01指向功能变更
  410. buildConfigField("String", "appCode", "\"1.01\"")
  411. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  412. }
  413. brand010FUpdate {
  414. dimension "platform"
  415. applicationId "com.develop.foodcooking"
  416. buildConfigField("String", "UpdatePlatform", "\"night\"")
  417. resValue("string", "app_theme", "@style/Splash010DTheme")
  418. buildConfigField("String", "model", "\"1039\"")
  419. buildConfigField("String", "brandCode", "\"010F\"")
  420. //appCode 1.01 指向bug修复,2.01指向功能变更
  421. buildConfigField("String", "appCode", "\"1.01\"")
  422. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  423. }
  424. brand025ATuya {
  425. manifestPlaceholders = [channelName: "brand025ATuya"]
  426. dimension "platform"
  427. applicationId "com.develop.foodcooking"
  428. buildConfigField("String", "UpdatePlatform", "\"night\"")
  429. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  430. buildConfigField("String", "model", "\"1039\"")
  431. buildConfigField("String", "brandCode", "\"025A\"")
  432. //appCode 1.01 指向bug修复,2.01指向功能变更
  433. buildConfigField("String", "appCode", "\"1.01\"")
  434. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  435. // buildConfigField("String", "appCode", "\"2.01\"")
  436. }
  437. brand030A {
  438. dimension "platform"
  439. applicationId "com.develop.foodcooking"
  440. resValue("string", "app_theme", "@style/SplashTheme")
  441. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  442. buildConfigField("String", "model", "\"1039\"")
  443. buildConfigField("String", "brandCode", "\"030A\"")
  444. //appCode 1.01 指向bug修复,2.01指向功能变更
  445. buildConfigField("String", "appCode", "\"1.01\"")
  446. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  447. }
  448. brand032DTuya {
  449. manifestPlaceholders = [channelName: "brand032DTuya"]
  450. dimension "platform"
  451. applicationId "com.develop.foodcooking"
  452. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  453. resValue("string", "app_theme", "@style/Splash032DTheme")
  454. buildConfigField("String", "model", "\"1039\"")
  455. buildConfigField("String", "brandCode", "\"032D\"")
  456. //appCode 1.01 指向bug修复,2.01指向功能变更
  457. buildConfigField("String", "appCode", "\"1.01\"")
  458. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  459. }
  460. brand032D {
  461. dimension "platform"
  462. applicationId "com.develop.foodcooking"
  463. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  464. resValue("string", "app_theme", "@style/Splash032DTheme")
  465. //appCode 1.01 指向bug修复,2.01指向功能变更
  466. buildConfigField("String", "appCode", "\"1.01\"")
  467. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  468. }
  469. brand032ETuya {
  470. manifestPlaceholders = [channelName: "brand032ETuya"]
  471. dimension "platform"
  472. applicationId "com.develop.foodcooking"
  473. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  474. resValue("string", "app_theme", "@style/Splash032DTheme")
  475. buildConfigField("String", "model", "\"1039\"")
  476. buildConfigField("String", "brandCode", "\"032E\"")
  477. //appCode 1.01 指向bug修复,2.01指向功能变更
  478. buildConfigField("String", "appCode", "\"1.01\"")
  479. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  480. }
  481. brand002DTuya {
  482. manifestPlaceholders = [channelName: "brand002DTuya"]
  483. dimension "platform"
  484. applicationId "com.develop.foodcooking"
  485. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  486. resValue("string", "app_theme", "@style/Splash002DTheme")
  487. buildConfigField("String", "model", "\"1039\"")
  488. buildConfigField("String", "brandCode", "\"002D\"")
  489. //appCode 1.01 指向bug修复,2.01指向功能变更
  490. buildConfigField("String", "appCode", "\"1.01\"")
  491. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  492. }
  493. brand007DTuya {
  494. dimension "platform"
  495. applicationId "com.develop.foodcooking"
  496. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  497. resValue("string", "app_theme", "@style/Splash007DTheme")
  498. //appCode 1.01 指向bug修复,2.01指向功能变更
  499. buildConfigField("String", "appCode", "\"1.01\"")
  500. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  501. }
  502. brand049BTuya {
  503. manifestPlaceholders = [channelName: "brand049BTuya"]
  504. dimension "platform"
  505. applicationId "com.develop.foodcooking"
  506. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  507. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  508. buildConfigField("String", "model", "\"1039\"")
  509. //appCode 1.01 指向bug修复,2.01指向功能变更
  510. buildConfigField("String", "appCode", "\"1.01\"")
  511. buildConfigField("String", "brandCode", "\"049B\"")
  512. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  513. }
  514. brand053A {
  515. manifestPlaceholders = [channelName: "brand053A"]
  516. dimension "platform"
  517. applicationId "com.develop.foodcooking"
  518. buildConfigField("String", "UpdatePlatform", "\"night\"")
  519. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  520. buildConfigField("String", "model", "\"1039\"")
  521. //appCode 1.01 指向bug修复,2.01指向功能变更
  522. buildConfigField("String", "appCode", "\"1.01\"")
  523. buildConfigField("String", "brandCode", "\"053A\"")
  524. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  525. }
  526. brand054ATuya {
  527. manifestPlaceholders = [channelName: "brand054ATuya"]
  528. dimension "platform"
  529. applicationId "com.develop.foodcooking"
  530. buildConfigField("String", "UpdatePlatform", "\"night\"")
  531. resValue("string", "app_theme", "@style/Splash054ATheme")
  532. buildConfigField("String", "model", "\"1039\"")
  533. buildConfigField("String", "brandCode", "\"054A\"")
  534. //appCode 1.01 指向bug修复,2.01指向功能变更
  535. buildConfigField("String", "appCode", "\"1.01\"")
  536. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  537. }
  538. brand054A5037Tuya {
  539. manifestPlaceholders = [channelName: "brand054A5037Tuya"]
  540. dimension "platform"
  541. applicationId "com.develop.foodcooking"
  542. buildConfigField("String", "UpdatePlatform", "\"night\"")
  543. resValue("string", "app_theme", "@style/Splash054ATheme")
  544. buildConfigField("String", "model", "\"5037\"")
  545. buildConfigField("String", "brandCode", "\"054A\"")
  546. //appCode 1.01 指向bug修复,2.01指向功能变更
  547. buildConfigField("String", "appCode", "\"1.01\"")
  548. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  549. }
  550. brand058A {
  551. manifestPlaceholders = [channelName: "brand058A"]
  552. dimension "platform"
  553. applicationId "com.develop.foodcooking"
  554. resValue("string", "app_theme", "@style/Splash062ATheme")
  555. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  556. buildConfigField("String", "model", "\"1039\"")
  557. buildConfigField("String", "brandCode", "\"058A\"")
  558. //appCode 1.01 指向bug修复,2.01指向功能变更
  559. buildConfigField("String", "appCode", "\"1.01\"")
  560. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  561. // buildConfigField("String", "appCode", "\"2.01\"")
  562. }
  563. brand062ATuya {
  564. manifestPlaceholders = [channelName: "brand062ATuya"]
  565. dimension "platform"
  566. applicationId "com.develop.foodcooking"
  567. resValue("string", "app_theme", "@style/Splash062ATheme")
  568. buildConfigField("String", "UpdatePlatform", "\"062A\"")
  569. buildConfigField("String", "model", "\"1039\"")
  570. buildConfigField("String", "brandCode", "\"062A\"")
  571. //appCode 1.01 指向bug修复,2.01指向功能变更
  572. buildConfigField("String", "appCode", "\"1.01\"")
  573. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  574. // buildConfigField("String", "appCode", "\"2.01\"")
  575. }
  576. brand063ATuya {
  577. dimension "platform"
  578. applicationId "com.develop.foodcooking"
  579. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  580. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  581. buildConfigField("String", "model", "\"1039\"")
  582. buildConfigField("String", "brandCode", "\"063A\"")
  583. //appCode 1.01 指向bug修复,2.01指向功能变更
  584. buildConfigField("String", "appCode", "\"1.01\"")
  585. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  586. // buildConfigField("String", "appCode", "\"2.01\"")
  587. }
  588. brand063BTuya {
  589. manifestPlaceholders = [channelName: "brand063BTuya"]
  590. dimension "platform"
  591. applicationId "com.develop.foodcooking"
  592. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  593. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  594. buildConfigField("String", "model", "\"1039\"")
  595. buildConfigField("String", "brandCode", "\"063B\"")
  596. //appCode 1.01 指向bug修复,2.01指向功能变更
  597. buildConfigField("String", "appCode", "\"1.01\"")
  598. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  599. // buildConfigField("String", "appCode", "\"2.01\"")
  600. }
  601. brand077ATuya {
  602. manifestPlaceholders = [channelName: "brand077ATuya"]
  603. dimension "platform"
  604. applicationId "com.develop.foodcooking"
  605. buildConfigField("String", "UpdatePlatform", "\"night\"")
  606. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  607. buildConfigField("String", "model", "\"1039\"")
  608. buildConfigField("String", "brandCode", "\"077A\"")
  609. //appCode 1.01 指向bug修复,2.01指向功能变更
  610. buildConfigField("String", "appCode", "\"1.01\"")
  611. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  612. // buildConfigField("String", "appCode", "\"2.01\"")
  613. }
  614. }
  615. // sourceSets {
  616. // main {
  617. // manifest.srcFile 'src/main/AndroidManifest.xml'
  618. // java.srcDirs = ['src/main/java']
  619. // resources.srcDirs = ['src/main/resources']
  620. // aidl.srcDirs = ['src/main/aidl']
  621. // renderscript.srcDirs = ['src/maom']
  622. // res.srcDirs = ['src/main/res']
  623. // assets.srcDirs = ['src/main/assets']
  624. // jniLibs.srcDir 'src/main/jniLibs'
  625. // }
  626. //
  627. // //用各自对应的资源文件路径
  628. // brand011ATuya.res.srcDirs = ['src/main/res-zerooneone']
  629. //// huawei.res.srcDirs = ['src/main/res-huawei']
  630. //
  631. // // Move the tests to tests/java, tests/res, etc...
  632. // androidTest.setRoot('tests')
  633. // // Move the build types to build-types/<type>
  634. // // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  635. // // This moves them out of them default location under src/<type>/... which would
  636. // // conflict with src/ being used by the main source set.
  637. // // Adding new build types or product flavors should be accompanied
  638. // // by a similar customization.
  639. // debug.setRoot('build-types/debug')
  640. // release.setRoot('build-types/release')
  641. // }
  642. signingConfigs {
  643. debug {
  644. storeFile file('..\\signature\\rk.jks')
  645. storePassword '123456'
  646. keyAlias 'rk'
  647. keyPassword '123456'
  648. }
  649. foodCooking {
  650. storeFile file("..\\signature\\rk.jks")
  651. storePassword '123456'
  652. keyAlias 'rk'
  653. keyPassword '123456'
  654. }
  655. release {
  656. storeFile file('..\\signature\\rk.jks')
  657. storePassword '123456'
  658. keyAlias 'rk'
  659. keyPassword '123456'
  660. }
  661. }
  662. buildTypes {
  663. release {
  664. minifyEnabled false
  665. debuggable true
  666. productFlavors.brand010D.signingConfig signingConfigs.release
  667. productFlavors.brand029CTuya.signingConfig signingConfigs.release
  668. productFlavors.brand000ATuya.signingConfig signingConfigs.release
  669. productFlavors.brand030A.signingConfig signingConfigs.release
  670. productFlavors.brand011ATuya.signingConfig signingConfigs.release
  671. productFlavors.brand036ITuya.signingConfig signingConfigs.release
  672. productFlavors.brand030ATuya.signingConfig signingConfigs.release
  673. productFlavors.brand017ATuya.signingConfig signingConfigs.release
  674. productFlavors.brand036I.signingConfig signingConfigs.release
  675. productFlavors.brand000A.signingConfig signingConfigs.release
  676. productFlavors.brand045ATuya.signingConfig signingConfigs.release
  677. productFlavors.brand032DTuya.signingConfig signingConfigs.release
  678. productFlavors.brand032D.signingConfig signingConfigs.release
  679. productFlavors.brand063ATuya.signingConfig signingConfigs.release
  680. productFlavors.brand002DTuya.signingConfig signingConfigs.release
  681. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  682. }
  683. debug {
  684. debuggable true
  685. productFlavors.brand032DTuya.signingConfig signingConfigs.debug
  686. // buildConfigField("String", "UpdatePlatform", "\"054A\"")
  687. ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
  688. // resValue("string", "app_theme", "@style/Splash054ATheme")
  689. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  690. // resValue("string", "app_theme", "@style/SplashTheme")
  691. // buildConfigField("String", "model", "\"1039\"")
  692. // buildConfigField("String", "brandCode", "\"017A\"")
  693. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  694. // buildConfigField("String", "appCode", "\"1.01\"")
  695. // buildConfigField("String", "appCode", "\"2.01\"")
  696. // resValue("string", "app_theme", "@style/SplashTheme")
  697. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  698. // buildConfigField("String", "model", "\"5037\"")
  699. // buildConfigField("String", "brandCode", "\"000A\"")
  700. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  701. // buildConfigField("String", "appCode", "\"1.01\"")
  702. //// buildConfigField("String", "appCode", "\"2.01\"")
  703. // manifestPlaceholders = [channelName: "brand0062ATuya"]
  704. // resValue("string", "app_theme", "@style/Splash062ATheme")
  705. // buildConfigField("String", "UpdatePlatform", "\"062A\"")
  706. // buildConfigField("String", "model", "\"1039\"")
  707. // buildConfigField("String", "brandCode", "\"062A\"")
  708. // //appCode 1.01 指向bug修复,2.01指向功能变更
  709. // buildConfigField("String", "appCode", "\"1.01\"")
  710. // manifestPlaceholders = [channelName: "brand000BTuya"]
  711. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  712. // resValue("string", "app_theme", "@style/SplashTheme")
  713. // buildConfigField("String", "model", "\"1039\"")
  714. // buildConfigField("String", "brandCode", "\"000B\"")
  715. // //appCode 1.01 指向bug修复,2.01指向功能变更
  716. // buildConfigField("String", "appCode", "\"1.01\"")
  717. // manifestPlaceholders = [channelName: "brand000B5037Tuya"]
  718. // resValue("string", "app_theme", "@style/SplashTheme")
  719. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  720. // buildConfigField("String", "model", "\"5037\"")
  721. // buildConfigField("String", "brandCode", "\"000B\"")
  722. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  723. // buildConfigField("String", "appCode", "\"1.01\"")
  724. //// buildConfigField("String", "appCode", "\"2.01\"")
  725. //
  726. // manifestPlaceholders = [channelName: "brand000ATuya"]
  727. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  728. // resValue("string", "app_theme", "@style/SplashTheme")
  729. // buildConfigField("String", "model", "\"1039\"")
  730. // buildConfigField("String", "brandCode", "\"000A\"")
  731. // //appCode 1.01 指向bug修复,2.01指向功能变更
  732. // buildConfigField("String", "appCode", "\"1.01\"")
  733. // manifestPlaceholders = [channelName: "brand000ATuya"]
  734. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  735. // resValue("string", "app_theme", "@style/SplashTheme")
  736. // buildConfigField("String", "model", "\"5067\"")
  737. // buildConfigField("String", "brandCode", "\"000A\"")
  738. // //appCode 1.01 指向bug修复,2.01指向功能变更
  739. // buildConfigField("String", "appCode", "\"1.01\"")
  740. // manifestPlaceholders = [channelName: "brand011ATuya"]
  741. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  742. // resValue("string", "app_theme", "@style/Splash011ATheme")
  743. // buildConfigField("String", "model", "\"1039\"")
  744. // buildConfigField("String", "brandCode", "\"011A\"")
  745. // //appCode 1.01 指向bug修复,2.01指向功能变更
  746. // buildConfigField("String", "appCode", "\"1.01\"")
  747. // manifestPlaceholders = [channelName: "brand011FTuya"]
  748. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  749. // resValue("string", "app_theme", "@style/Splash011DTheme")
  750. // buildConfigField("String", "model", "\"1039\"")
  751. // buildConfigField("String", "brandCode", "\"011F\"")
  752. // //appCode 1.01 指向bug修复,2.01指向功能变更
  753. // buildConfigField("String", "appCode", "\"1.01\"")
  754. // manifestPlaceholders = [channelName: "brand011DTuya"]
  755. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  756. // resValue("string", "app_theme", "@style/Splash011DTheme")
  757. // buildConfigField("String", "model", "\"1039\"")
  758. // buildConfigField("String", "brandCode", "\"011D\"")
  759. // //appCode 1.01 指向bug修复,2.01指向功能变更
  760. // buildConfigField("String", "appCode", "\"1.01\"")
  761. // manifestPlaceholders = [channelName: "brand032DTuya"]
  762. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  763. // resValue("string", "app_theme", "@style/Splash032DTheme")
  764. // buildConfigField("String", "model", "\"1039\"")
  765. // buildConfigField("String", "brandCode", "\"032D\"")
  766. // //appCode 1.01 指向bug修复,2.01指向功能变更
  767. // buildConfigField("String", "appCode", "\"1.01\"")
  768. //
  769. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  770. // resValue("string", "app_theme", "@style/Splash010DTheme")
  771. // buildConfigField("String", "model", "\"1039\"")
  772. // buildConfigField("String", "brandCode", "\"010D\"")
  773. // //appCode 1.01 指向bug修复,2.01指向功能变更
  774. // buildConfigField("String", "appCode", "\"1.01\"")
  775. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  776. // resValue("string", "app_theme", "@style/Splash010DTheme")
  777. // buildConfigField("String", "model", "\"1039\"")
  778. // buildConfigField("String", "brandCode", "\"010F\"")
  779. // //appCode 1.01 指向bug修复,2.01指向功能变更
  780. // buildConfigField("String", "appCode", "\"1.01\"")
  781. // buildConfigField("String", "UpdatePlatform", "\"011A\"")
  782. // resValue("string", "app_theme", "@style/Splash011ATheme")
  783. // buildConfigField("String", "model", "\"1039\"")
  784. // buildConfigField("String", "brandCode", "\"011A\"")
  785. // // //appCode 1.01 指向bug修复,2.01指向功能变更
  786. // buildConfigField("String", "appCode", "\"1.01\"")
  787. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  788. // resValue("string", "app_theme", "@style/SplashTheme")
  789. // buildConfigField("String", "model", "\"1039\"")
  790. // buildConfigField("String", "brandCode", "\"030A\"")
  791. // //appCode 1.01 指向bug修复,2.01指向功能变更
  792. // buildConfigField("String", "appCode", "\"1.01\"")
  793. // manifestPlaceholders = [channelName: "brand010I"]
  794. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  795. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  796. // buildConfigField("String", "model", "\"1039\"")
  797. // buildConfigField("String", "brandCode", "\"010I\"")
  798. // //appCode 1.01 指向bug修复,2.01指向功能变更
  799. // buildConfigField("String", "appCode", "\"1.01\"")
  800. // buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  801. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  802. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  803. // buildConfigField("String", "model", "\"1039\"")
  804. // buildConfigField("String", "brandCode", "\"014A\"")
  805. // //appCode 1.01 指向bug修复,2.01指向功能变更
  806. // buildConfigField("String", "appCode", "\"1.01\"")
  807. //
  808. // manifestPlaceholders = [channelName: "brand033HTuya"]
  809. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  810. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  811. // buildConfigField("String", "model", "\"1039\"")
  812. // buildConfigField("String", "brandCode", "\"033H\"")
  813. // //appCode 1.01 指向bug修复,2.01指向功能变更
  814. // buildConfigField("String", "appCode", "\"1.01\"")
  815. // buildConfigField("String", "appCode", "\"2.01\"")
  816. // manifestPlaceholders = [channelName: "brand033FTuya"]
  817. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  818. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  819. // buildConfigField("String", "model", "\"1039\"")
  820. // buildConfigField("String", "brandCode", "\"033F\"")
  821. // //appCode 1.01 指向bug修复,2.01指向功能变更
  822. // buildConfigField("String", "appCode", "\"1.01\"")
  823. // manifestPlaceholders = [channelName: "brand029CTuya"]
  824. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  825. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  826. // buildConfigField("String", "model", "\"1039\"")
  827. // buildConfigField("String", "brandCode", "\"029C\"")
  828. // //appCode 1.01 指向bug修复,2.01指向功能变更
  829. // buildConfigField("String", "appCode", "\"1.01\"")
  830. // manifestPlaceholders = [channelName: "brand033GTuya"]
  831. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  832. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  833. // buildConfigField("String", "model", "\"1039\"")
  834. // buildConfigField("String", "brandCode", "\"033G\"")
  835. // //appCode 1.01 指向bug修复,2.01指向功能变更
  836. // buildConfigField("String", "appCode", "\"1.01\"")
  837. // buildConfigField("String", "appCode", "\"2.01\"")
  838. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  839. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  840. // buildConfigField("String", "model", "\"1039\"")
  841. // buildConfigField("String", "brandCode", "\"049B\"")
  842. // //appCode 1.01 指向bug修复,2.01指向功能变更
  843. // buildConfigField("String", "appCode", "\"1.01\"")
  844. //
  845. //
  846. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  847. // manifestPlaceholders = [channelName: "brand036I"]
  848. // buildConfigField("String", "UpdatePlatform", "\"036I\"")
  849. // resValue("string", "app_theme", "@style/Splash036IDTheme")
  850. // ` buildConfigField("String", "model", "\"1039\"")
  851. // buildConfigField("String", "brandCode", "\"036I\"")
  852. // //appCode 1.01 指向bug修复,2.01指向功能变更
  853. // buildConfigField("String", "appCode", "\"1.01\"")
  854. // manifestPlaceholders = [channelName: "brand011ETuya"]
  855. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  856. // resValue("string", "app_theme", "@style/Splash011ETheme")
  857. // buildConfigField("String", "model", "\"5037\"")
  858. // buildConfigField("String", "brandCode", "\"011E\"")
  859. // //appCode 1.01 指向bug修复,2.01指向功能变更
  860. // buildConfigField("String", "appCode", "\"1.01\"")
  861. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  862. // manifestPlaceholders = [channelName: "brand045ATuya"]
  863. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  864. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  865. // buildConfigField("String", "model", "\"5037\"")
  866. // buildConfigField("String", "brandCode", "\"045A\"")
  867. // //appCode 1.01 指向bug修复,2.01指向功能变更
  868. // buildConfigField("String", "appCode", "\"1.01\"")
  869. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  870. // manifestPlaceholders = [channelName: "brand010D"]
  871. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  872. // resValue("string", "app_theme", "@style/Splash010DTheme")
  873. // buildConfigField("String", "model", "\"1039\"")
  874. // buildConfigField("String", "brandCode", "\"010D\"")
  875. // //appCode 1.01 指向bug修复,2.01指向功能变更
  876. // buildConfigField("String", "appCode", "\"1.01\"")
  877. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  878. // manifestPlaceholders = [channelName: "brand002DTuya"]
  879. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  880. // resValue("string", "app_theme", "@style/Splash002DTheme")
  881. // buildConfigField("String", "model", "\"1039\"")
  882. // buildConfigField("String", "brandCode", "\"002D\"")
  883. // //appCode 1.01 指向bug修复,2.01指向功能变更
  884. // buildConfigField("String", "appCode", "\"1.01\"")
  885. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  886. ////
  887. // manifestPlaceholders = [channelName: "brand063BTuya"]
  888. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  889. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  890. // buildConfigField("String", "model", "\"1039\"")
  891. // buildConfigField("String", "brandCode", "\"063B\"")
  892. // //appCode 1.01 指向bug修复,2.01指向功能变更
  893. // buildConfigField("String", "appCode", "\"1.01\"")
  894. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  895. //
  896. manifestPlaceholders = [channelName: "brand058A"]
  897. resValue("string", "app_theme", "@style/Splash062ATheme")
  898. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  899. buildConfigField("String", "model", "\"1039\"")
  900. buildConfigField("String", "brandCode", "\"058A\"")
  901. //appCode 1.01 指向bug修复,2.01指向功能变更
  902. buildConfigField("String", "appCode", "\"1.01\"")
  903. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  904. // manifestPlaceholders = [channelName: "brand053A"]
  905. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  906. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  907. // buildConfigField("String", "model", "\"1039\"")
  908. // buildConfigField("String", "brandCode", "\"053A\"")
  909. // //appCode 1.01 指向bug修复,2.01指向功能变更
  910. // buildConfigField("String", "appCode", "\"1.01\"")
  911. // manifestPlaceholders = [channelName: "brand054ATuya"]
  912. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  913. // resValue("string", "app_theme", "@style/Splash054ATheme")
  914. // buildConfigField("String", "model", "\"5037\"")
  915. // buildConfigField("String", "brandCode", "\"054A\"")
  916. // //appCode 1.01 指向bug修复,2.01指向功能变更
  917. // buildConfigField("String", "appCode", "\"1.01\"")
  918. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  919. // manifestPlaceholders = [channelName: "brand025ATuya"]
  920. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  921. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  922. // buildConfigField("String", "model", "\"1039\"")
  923. // buildConfigField("String", "brandCode", "\"025A\"")
  924. // //appCode 1.01 指向bug修复,2.01指向功能变更
  925. // buildConfigField("String", "appCode", "\"1.01\"")
  926. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  927. // manifestPlaceholders = [channelName: "brand077ATuya"]
  928. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  929. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  930. // buildConfigField("String", "model", "\"1039\"")
  931. // buildConfigField("String", "brandCode", "\"077A\"")
  932. // //appCode 1.01 指向bug修复,2.01指向功能变更
  933. // buildConfigField("String", "appCode", "\"1.01\"")
  934. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  935. }
  936. }
  937. compileOptions {
  938. sourceCompatibility JavaVersion.VERSION_1_8
  939. targetCompatibility JavaVersion.VERSION_1_8
  940. }
  941. kotlinOptions {
  942. jvmTarget = '1.8'
  943. }
  944. viewBinding {
  945. enabled = true
  946. }
  947. }
  948. dependencies {
  949. implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
  950. implementation project(path: ':BusinessCommon')//业务相关的基础类
  951. implementation project(path: ':BusinessMain') //烹饪主模块
  952. implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
  953. implementation project(path: ':BusinessSetting') //设置模块
  954. implementation project(path: ':BusinessStep') //烹饪步骤模块
  955. kapt 'com.alibaba:arouter-compiler:1.5.2'
  956. }