build.gradle 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139
  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 = "083A"
  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", "\"011\"")
  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", "\"011\"")
  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. brand083ATuya {
  615. manifestPlaceholders = [channelName: "brand083ATuya"]
  616. dimension "platform"
  617. applicationId "com.develop.foodcooking"
  618. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  619. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  620. buildConfigField("String", "model", "\"1039\"")
  621. buildConfigField("String", "brandCode", "\"083A\"")
  622. //appCode 1.01 指向bug修复,2.01指向功能变更
  623. buildConfigField("String", "appCode", "\"1.01\"")
  624. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  625. // buildConfigField("String", "appCode", "\"2.01\"")
  626. }
  627. brand083BTuya {
  628. manifestPlaceholders = [channelName: "brand083BTuya"]
  629. dimension "platform"
  630. applicationId "com.develop.foodcooking"
  631. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  632. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  633. buildConfigField("String", "model", "\"1039\"")
  634. buildConfigField("String", "brandCode", "\"083B\"")
  635. //appCode 1.01 指向bug修复,2.01指向功能变更
  636. buildConfigField("String", "appCode", "\"1.01\"")
  637. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  638. // buildConfigField("String", "appCode", "\"2.01\"")
  639. }
  640. }
  641. // sourceSets {
  642. // main {
  643. // manifest.srcFile 'src/main/AndroidManifest.xml'
  644. // java.srcDirs = ['src/main/java']
  645. // resources.srcDirs = ['src/main/resources']
  646. // aidl.srcDirs = ['src/main/aidl']
  647. // renderscript.srcDirs = ['src/maom']
  648. // res.srcDirs = ['src/main/res']
  649. // assets.srcDirs = ['src/main/assets']
  650. // jniLibs.srcDir 'src/main/jniLibs'
  651. // }
  652. //
  653. // //用各自对应的资源文件路径
  654. // brand011ATuya.res.srcDirs = ['src/main/res-zerooneone']
  655. //// huawei.res.srcDirs = ['src/main/res-huawei']
  656. //
  657. // // Move the tests to tests/java, tests/res, etc...
  658. // androidTest.setRoot('tests')
  659. // // Move the build types to build-types/<type>
  660. // // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  661. // // This moves them out of them default location under src/<type>/... which would
  662. // // conflict with src/ being used by the main source set.
  663. // // Adding new build types or product flavors should be accompanied
  664. // // by a similar customization.
  665. // debug.setRoot('build-types/debug')
  666. // release.setRoot('build-types/release')
  667. // }
  668. signingConfigs {
  669. debug {
  670. storeFile file('..\\signature\\rk.jks')
  671. storePassword '123456'
  672. keyAlias 'rk'
  673. keyPassword '123456'
  674. }
  675. foodCooking {
  676. storeFile file("..\\signature\\rk.jks")
  677. storePassword '123456'
  678. keyAlias 'rk'
  679. keyPassword '123456'
  680. }
  681. release {
  682. storeFile file('..\\signature\\rk.jks')
  683. storePassword '123456'
  684. keyAlias 'rk'
  685. keyPassword '123456'
  686. }
  687. }
  688. buildTypes {
  689. release {
  690. minifyEnabled false
  691. debuggable true
  692. productFlavors.brand010D.signingConfig signingConfigs.release
  693. productFlavors.brand029CTuya.signingConfig signingConfigs.release
  694. productFlavors.brand000ATuya.signingConfig signingConfigs.release
  695. productFlavors.brand030A.signingConfig signingConfigs.release
  696. productFlavors.brand011ATuya.signingConfig signingConfigs.release
  697. productFlavors.brand036ITuya.signingConfig signingConfigs.release
  698. productFlavors.brand030ATuya.signingConfig signingConfigs.release
  699. productFlavors.brand017ATuya.signingConfig signingConfigs.release
  700. productFlavors.brand036I.signingConfig signingConfigs.release
  701. productFlavors.brand000A.signingConfig signingConfigs.release
  702. productFlavors.brand045ATuya.signingConfig signingConfigs.release
  703. productFlavors.brand032DTuya.signingConfig signingConfigs.release
  704. productFlavors.brand032D.signingConfig signingConfigs.release
  705. productFlavors.brand063ATuya.signingConfig signingConfigs.release
  706. productFlavors.brand002DTuya.signingConfig signingConfigs.release
  707. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  708. }
  709. debug {
  710. debuggable true
  711. productFlavors.brand032DTuya.signingConfig signingConfigs.debug
  712. // buildConfigField("String", "UpdatePlatform", "\"054A\"")
  713. ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
  714. // resValue("string", "app_theme", "@style/Splash054ATheme")
  715. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  716. // resValue("string", "app_theme", "@style/SplashTheme")
  717. // buildConfigField("String", "model", "\"1039\"")
  718. // buildConfigField("String", "brandCode", "\"017A\"")
  719. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  720. // buildConfigField("String", "appCode", "\"1.01\"")
  721. // buildConfigField("String", "appCode", "\"2.01\"")
  722. // resValue("string", "app_theme", "@style/SplashTheme")
  723. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  724. // buildConfigField("String", "model", "\"5037\"")
  725. // buildConfigField("String", "brandCode", "\"000A\"")
  726. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  727. // buildConfigField("String", "appCode", "\"1.01\"")
  728. //// buildConfigField("String", "appCode", "\"2.01\"")
  729. // manifestPlaceholders = [channelName: "brand0062ATuya"]
  730. // resValue("string", "app_theme", "@style/Splash062ATheme")
  731. // buildConfigField("String", "UpdatePlatform", "\"062A\"")
  732. // buildConfigField("String", "model", "\"1039\"")
  733. // buildConfigField("String", "brandCode", "\"062A\"")
  734. // //appCode 1.01 指向bug修复,2.01指向功能变更
  735. // buildConfigField("String", "appCode", "\"1.01\"")
  736. // manifestPlaceholders = [channelName: "brand000BTuya"]
  737. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  738. // resValue("string", "app_theme", "@style/SplashTheme")
  739. // buildConfigField("String", "model", "\"1039\"")
  740. // buildConfigField("String", "brandCode", "\"000B\"")
  741. // //appCode 1.01 指向bug修复,2.01指向功能变更
  742. // buildConfigField("String", "appCode", "\"1.01\"")
  743. // manifestPlaceholders = [channelName: "brand000B5037Tuya"]
  744. // resValue("string", "app_theme", "@style/SplashTheme")
  745. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  746. // buildConfigField("String", "model", "\"5037\"")
  747. // buildConfigField("String", "brandCode", "\"000B\"")
  748. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  749. // buildConfigField("String", "appCode", "\"1.01\"")
  750. //// buildConfigField("String", "appCode", "\"2.01\"")
  751. //
  752. // manifestPlaceholders = [channelName: "brand000ATuya"]
  753. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  754. // resValue("string", "app_theme", "@style/SplashTheme")
  755. // buildConfigField("String", "model", "\"1039\"")
  756. // buildConfigField("String", "brandCode", "\"000A\"")
  757. // //appCode 1.01 指向bug修复,2.01指向功能变更
  758. // buildConfigField("String", "appCode", "\"1.01\"")
  759. // manifestPlaceholders = [channelName: "brand000ATuya"]
  760. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  761. // resValue("string", "app_theme", "@style/SplashTheme")
  762. // buildConfigField("String", "model", "\"5067\"")
  763. // buildConfigField("String", "brandCode", "\"000A\"")
  764. // //appCode 1.01 指向bug修复,2.01指向功能变更
  765. // buildConfigField("String", "appCode", "\"1.01\"")
  766. // manifestPlaceholders = [channelName: "brand011ATuya"]
  767. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  768. // resValue("string", "app_theme", "@style/Splash011ATheme")
  769. // buildConfigField("String", "model", "\"1039\"")
  770. // buildConfigField("String", "brandCode", "\"011A\"")
  771. // //appCode 1.01 指向bug修复,2.01指向功能变更
  772. // buildConfigField("String", "appCode", "\"1.01\"")
  773. // manifestPlaceholders = [channelName: "brand011FTuya"]
  774. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  775. // resValue("string", "app_theme", "@style/Splash011DTheme")
  776. // buildConfigField("String", "model", "\"1039\"")
  777. // buildConfigField("String", "brandCode", "\"011F\"")
  778. // //appCode 1.01 指向bug修复,2.01指向功能变更
  779. // buildConfigField("String", "appCode", "\"1.01\"")
  780. // manifestPlaceholders = [channelName: "brand011DTuya"]
  781. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  782. // resValue("string", "app_theme", "@style/Splash011DTheme")
  783. // buildConfigField("String", "model", "\"1039\"")
  784. // buildConfigField("String", "brandCode", "\"011D\"")
  785. // //appCode 1.01 指向bug修复,2.01指向功能变更
  786. // buildConfigField("String", "appCode", "\"1.01\"")
  787. // manifestPlaceholders = [channelName: "brand032DTuya"]
  788. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  789. // resValue("string", "app_theme", "@style/Splash032DTheme")
  790. // buildConfigField("String", "model", "\"1039\"")
  791. // buildConfigField("String", "brandCode", "\"032D\"")
  792. // //appCode 1.01 指向bug修复,2.01指向功能变更
  793. // buildConfigField("String", "appCode", "\"1.01\"")
  794. //
  795. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  796. // resValue("string", "app_theme", "@style/Splash010DTheme")
  797. // buildConfigField("String", "model", "\"1039\"")
  798. // buildConfigField("String", "brandCode", "\"010D\"")
  799. // //appCode 1.01 指向bug修复,2.01指向功能变更
  800. // buildConfigField("String", "appCode", "\"1.01\"")
  801. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  802. // resValue("string", "app_theme", "@style/Splash010DTheme")
  803. // buildConfigField("String", "model", "\"1039\"")
  804. // buildConfigField("String", "brandCode", "\"010F\"")
  805. // //appCode 1.01 指向bug修复,2.01指向功能变更
  806. // buildConfigField("String", "appCode", "\"1.01\"")
  807. // buildConfigField("String", "UpdatePlatform", "\"011A\"")
  808. // resValue("string", "app_theme", "@style/Splash011ATheme")
  809. // buildConfigField("String", "model", "\"1039\"")
  810. // buildConfigField("String", "brandCode", "\"011A\"")
  811. // // //appCode 1.01 指向bug修复,2.01指向功能变更
  812. // buildConfigField("String", "appCode", "\"1.01\"")
  813. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  814. // resValue("string", "app_theme", "@style/SplashTheme")
  815. // buildConfigField("String", "model", "\"1039\"")
  816. // buildConfigField("String", "brandCode", "\"030A\"")
  817. // //appCode 1.01 指向bug修复,2.01指向功能变更
  818. // buildConfigField("String", "appCode", "\"1.01\"")
  819. // manifestPlaceholders = [channelName: "brand010I"]
  820. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  821. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  822. // buildConfigField("String", "model", "\"1039\"")
  823. // buildConfigField("String", "brandCode", "\"010I\"")
  824. // //appCode 1.01 指向bug修复,2.01指向功能变更
  825. // buildConfigField("String", "appCode", "\"1.01\"")
  826. // buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  827. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  828. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  829. // buildConfigField("String", "model", "\"1039\"")
  830. // buildConfigField("String", "brandCode", "\"014A\"")
  831. // //appCode 1.01 指向bug修复,2.01指向功能变更
  832. // buildConfigField("String", "appCode", "\"1.01\"")
  833. //
  834. // manifestPlaceholders = [channelName: "brand033HTuya"]
  835. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  836. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  837. // buildConfigField("String", "model", "\"1039\"")
  838. // buildConfigField("String", "brandCode", "\"033H\"")
  839. // //appCode 1.01 指向bug修复,2.01指向功能变更
  840. // buildConfigField("String", "appCode", "\"1.01\"")
  841. // buildConfigField("String", "appCode", "\"2.01\"")
  842. // manifestPlaceholders = [channelName: "brand033FTuya"]
  843. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  844. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  845. // buildConfigField("String", "model", "\"1039\"")
  846. // buildConfigField("String", "brandCode", "\"033F\"")
  847. // //appCode 1.01 指向bug修复,2.01指向功能变更
  848. // buildConfigField("String", "appCode", "\"1.01\"")
  849. // manifestPlaceholders = [channelName: "brand029CTuya"]
  850. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  851. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  852. // buildConfigField("String", "model", "\"1039\"")
  853. // buildConfigField("String", "brandCode", "\"029C\"")
  854. // //appCode 1.01 指向bug修复,2.01指向功能变更
  855. // buildConfigField("String", "appCode", "\"1.01\"")
  856. // manifestPlaceholders = [channelName: "brand033GTuya"]
  857. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  858. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  859. // buildConfigField("String", "model", "\"1039\"")
  860. // buildConfigField("String", "brandCode", "\"033G\"")
  861. // //appCode 1.01 指向bug修复,2.01指向功能变更
  862. // buildConfigField("String", "appCode", "\"1.01\"")
  863. //// buildConfigField("String", "appCode", "\"2.01\"")
  864. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  865. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  866. // buildConfigField("String", "model", "\"1039\"")
  867. // buildConfigField("String", "brandCode", "\"049B\"")
  868. // //appCode 1.01 指向bug修复,2.01指向功能变更
  869. // buildConfigField("String", "appCode", "\"1.01\"")
  870. //
  871. //
  872. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  873. // manifestPlaceholders = [channelName: "brand036I"]
  874. // buildConfigField("String", "UpdatePlatform", "\"036I\"")
  875. // resValue("string", "app_theme", "@style/Splash036IDTheme")
  876. // ` buildConfigField("String", "model", "\"1039\"")
  877. // buildConfigField("String", "brandCode", "\"036I\"")
  878. // //appCode 1.01 指向bug修复,2.01指向功能变更
  879. // buildConfigField("String", "appCode", "\"1.01\"")
  880. // manifestPlaceholders = [channelName: "brand011ETuya"]
  881. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  882. // resValue("string", "app_theme", "@style/Splash011ETheme")
  883. // buildConfigField("String", "model", "\"5037\"")
  884. // buildConfigField("String", "brandCode", "\"011E\"")
  885. // //appCode 1.01 指向bug修复,2.01指向功能变更
  886. // buildConfigField("String", "appCode", "\"1.01\"")
  887. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  888. // manifestPlaceholders = [channelName: "brand045ATuya"]
  889. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  890. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  891. // buildConfigField("String", "model", "\"5037\"")
  892. // buildConfigField("String", "brandCode", "\"045A\"")
  893. // //appCode 1.01 指向bug修复,2.01指向功能变更
  894. // buildConfigField("String", "appCode", "\"1.01\"")
  895. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  896. // manifestPlaceholders = [channelName: "brand010D"]
  897. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  898. // resValue("string", "app_theme", "@style/Splash010DTheme")
  899. // buildConfigField("String", "model", "\"1039\"")
  900. // buildConfigField("String", "brandCode", "\"010D\"")
  901. // //appCode 1.01 指向bug修复,2.01指向功能变更
  902. // buildConfigField("String", "appCode", "\"1.01\"")
  903. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  904. // manifestPlaceholders = [channelName: "brand002DTuya"]
  905. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  906. // resValue("string", "app_theme", "@style/Splash002DTheme")
  907. // buildConfigField("String", "model", "\"1039\"")
  908. // buildConfigField("String", "brandCode", "\"002D\"")
  909. // //appCode 1.01 指向bug修复,2.01指向功能变更
  910. // buildConfigField("String", "appCode", "\"1.01\"")
  911. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  912. ////
  913. // manifestPlaceholders = [channelName: "brand063BTuya"]
  914. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  915. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  916. // buildConfigField("String", "model", "\"1039\"")
  917. // buildConfigField("String", "brandCode", "\"063B\"")
  918. // //appCode 1.01 指向bug修复,2.01指向功能变更
  919. // buildConfigField("String", "appCode", "\"1.01\"")
  920. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  921. //
  922. // manifestPlaceholders = [channelName: "brand058A"]
  923. // resValue("string", "app_theme", "@style/Splash062ATheme")
  924. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  925. // buildConfigField("String", "model", "\"1039\"")
  926. // buildConfigField("String", "brandCode", "\"058A\"")
  927. // //appCode 1.01 指向bug修复,2.01指向功能变更
  928. // buildConfigField("String", "appCode", "\"1.01\"")
  929. // buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  930. // manifestPlaceholders = [channelName: "brand053A"]
  931. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  932. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  933. // buildConfigField("String", "model", "\"1039\"")
  934. // buildConfigField("String", "brandCode", "\"053A\"")
  935. // //appCode 1.01 指向bug修复,2.01指向功能变更
  936. // buildConfigField("String", "appCode", "\"1.01\"")
  937. // manifestPlaceholders = [channelName: "brand054ATuya"]
  938. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  939. // resValue("string", "app_theme", "@style/Splash054ATheme")
  940. // buildConfigField("String", "model", "\"5037\"")
  941. // buildConfigField("String", "brandCode", "\"054A\"")
  942. // //appCode 1.01 指向bug修复,2.01指向功能变更
  943. // buildConfigField("String", "appCode", "\"1.01\"")
  944. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  945. // manifestPlaceholders = [channelName: "brand025ATuya"]
  946. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  947. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  948. // buildConfigField("String", "model", "\"1039\"")
  949. // buildConfigField("String", "brandCode", "\"025A\"")
  950. // //appCode 1.01 指向bug修复,2.01指向功能变更
  951. // buildConfigField("String", "appCode", "\"1.01\"")
  952. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  953. // manifestPlaceholders = [channelName: "brand077ATuya"]
  954. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  955. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  956. // buildConfigField("String", "model", "\"1039\"")
  957. // buildConfigField("String", "brandCode", "\"077A\"")
  958. // //appCode 1.01 指向bug修复,2.01指向功能变更
  959. // buildConfigField("String", "appCode", "\"1.01\"")
  960. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  961. manifestPlaceholders = [channelName: "brand083ATuya"]
  962. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  963. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  964. buildConfigField("String", "model", "\"1039\"")
  965. buildConfigField("String", "brandCode", "\"083A\"")
  966. //appCode 1.01 指向bug修复,2.01指向功能变更
  967. buildConfigField("String", "appCode", "\"1.01\"")
  968. buildConfigField("String", "time", "\"${getCurrentTime()}\"")
  969. }
  970. }
  971. compileOptions {
  972. sourceCompatibility JavaVersion.VERSION_1_8
  973. targetCompatibility JavaVersion.VERSION_1_8
  974. }
  975. kotlinOptions {
  976. jvmTarget = '1.8'
  977. }
  978. viewBinding {
  979. enabled = true
  980. }
  981. }
  982. dependencies {
  983. implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
  984. implementation project(path: ':BusinessCommon')//业务相关的基础类
  985. implementation project(path: ':BusinessMain') //烹饪主模块
  986. implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
  987. implementation project(path: ':BusinessSetting') //设置模块
  988. implementation project(path: ':BusinessStep') //烹饪步骤模块
  989. kapt 'com.alibaba:arouter-compiler:1.5.2'
  990. }