build.gradle 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100
  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 = "033H"
  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", "\"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. }