build.gradle 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055
  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="054A"
  16. brandCode = "010H"
  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", "\"normal\"")
  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. brand011ETuya {
  176. manifestPlaceholders = [channelName: "brand011ETuya"]
  177. dimension "platform"
  178. applicationId "com.develop.foodcooking"
  179. buildConfigField("String", "UpdatePlatform", "\"011\"")
  180. resValue("string", "app_theme", "@style/Splash011ETheme")
  181. buildConfigField("String", "model", "\"5037\"")
  182. buildConfigField("String", "brandCode", "\"011E\"")
  183. //appCode 1.01 指向bug修复,2.01指向功能变更
  184. buildConfigField("String", "appCode", "\"1.01\"")
  185. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  186. }
  187. brand014ATuya {
  188. dimension "platform"
  189. applicationId "com.develop.foodcooking"
  190. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  191. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  192. buildConfigField("String", "model", "\"1039\"")
  193. buildConfigField("String", "brandCode", "\"014A\"")
  194. //appCode 1.01 指向bug修复,2.01指向功能变更
  195. buildConfigField("String", "appCode", "\"1.01\"")
  196. // buildConfigField("String", "appCode", "\"2.01\"")
  197. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  198. }
  199. brand017ATuya {
  200. dimension "platform"
  201. applicationId "com.develop.foodcooking"
  202. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  203. resValue("string", "app_theme", "@style/Splash017Theme")
  204. //appCode 1.01 指向bug修复,2.01指向功能变更
  205. buildConfigField("String", "appCode", "\"1.01\"")
  206. // buildConfigField("String", "appCode", "\"2.01\"")
  207. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  208. }
  209. brand030ATuya {
  210. dimension "platform"
  211. applicationId "com.develop.foodcooking"
  212. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  213. resValue("string", "app_theme", "@style/SplashTheme")
  214. buildConfigField("String", "model", "\"1039\"")
  215. buildConfigField("String", "brandCode", "\"030A\"")
  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. brand029CTuya {
  222. manifestPlaceholders = [channelName: "brand029CTuya"]
  223. dimension "platform"
  224. applicationId "com.develop.foodcooking"
  225. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  226. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  227. buildConfigField("String", "model", "\"1039\"")
  228. buildConfigField("String", "brandCode", "\"029C\"")
  229. //appCode 1.01 指向bug修复,2.01指向功能变更
  230. buildConfigField("String", "appCode", "\"1.01\"")
  231. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  232. }
  233. brand029C5037Tuya {
  234. dimension "platform"
  235. applicationId "com.develop.foodcooking"
  236. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  237. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  238. buildConfigField("String", "model", "\"5037\"")
  239. buildConfigField("String", "brandCode", "\"029C\"")
  240. //appCode 1.01 指向bug修复,2.01指向功能变更
  241. buildConfigField("String", "appCode", "\"1.01\"")
  242. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  243. }
  244. brand036I {
  245. manifestPlaceholders = [channelName: "brand036I"]
  246. dimension "platform"
  247. applicationId "com.develop.foodcooking"
  248. buildConfigField("String", "UpdatePlatform", "\"036I\"")
  249. buildConfigField("String", "model", "\"1039\"")
  250. buildConfigField("String", "brandCode", "\"036I\"")
  251. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  252. //appCode 1.01 指向bug修复,2.01指向功能变更
  253. buildConfigField("String", "appCode", "\"1.01\"")
  254. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  255. }
  256. brand036ITuya {
  257. dimension "platform"
  258. applicationId "com.develop.foodcooking"
  259. buildConfigField("String", "UpdatePlatform", "\"036I\"")
  260. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  261. buildConfigField("String", "model", "\"1039\"")
  262. buildConfigField("String", "brandCode", "\"036I\"")
  263. //appCode 1.01 指向bug修复,2.01指向功能变更
  264. buildConfigField("String", "appCode", "\"1.01\"")
  265. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  266. }
  267. brand033FTuya {
  268. manifestPlaceholders = [channelName: "brand033FTuya"]
  269. dimension "platform"
  270. applicationId "com.develop.foodcooking"
  271. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  272. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  273. buildConfigField("String", "model", "\"1039\"")
  274. buildConfigField("String", "brandCode", "\"033F\"")
  275. //appCode 1.01 指向bug修复,2.01指向功能变更
  276. buildConfigField("String", "appCode", "\"1.01\"")
  277. // buildConfigField("String", "appCode", "\"2.01\"")
  278. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  279. }
  280. brand033ITuya {
  281. manifestPlaceholders = [channelName: "brand033ITuya"]
  282. dimension "platform"
  283. applicationId "com.develop.foodcooking"
  284. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  285. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  286. buildConfigField("String", "model", "\"1039\"")
  287. buildConfigField("String", "brandCode", "\"033I\"")
  288. //appCode 1.01 指向bug修复,2.01指向功能变更
  289. buildConfigField("String", "appCode", "\"1.01\"")
  290. // buildConfigField("String", "appCode", "\"2.01\"")
  291. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  292. }
  293. brand033KTuya {
  294. manifestPlaceholders = [channelName: "brand033KTuya"]
  295. dimension "platform"
  296. applicationId "com.develop.foodcooking"
  297. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  298. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  299. buildConfigField("String", "model", "\"1039\"")
  300. buildConfigField("String", "brandCode", "\"033K\"")
  301. //appCode 1.01 指向bug修复,2.01指向功能变更
  302. buildConfigField("String", "appCode", "\"1.01\"")
  303. // buildConfigField("String", "appCode", "\"2.01\"")
  304. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  305. }
  306. brand033HTuya {
  307. manifestPlaceholders = [channelName: "brand033HTuya"]
  308. dimension "platform"
  309. applicationId "com.develop.foodcooking"
  310. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  311. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  312. buildConfigField("String", "model", "\"1039\"")
  313. buildConfigField("String", "brandCode", "\"033H\"")
  314. //appCode 1.01 指向bug修复,2.01指向功能变更
  315. buildConfigField("String", "appCode", "\"1.01\"")
  316. // buildConfigField("String", "appCode", "\"2.01\"")
  317. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  318. }
  319. brand033GTuya {
  320. manifestPlaceholders = [channelName: "brand033GTuya"]
  321. dimension "platform"
  322. applicationId "com.develop.foodcooking"
  323. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  324. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  325. buildConfigField("String", "model", "\"1039\"")
  326. buildConfigField("String", "brandCode", "\"033G\"")
  327. //appCode 1.01 指向bug修复,2.01指向功能变更
  328. buildConfigField("String", "appCode", "\"1.01\"")
  329. // buildConfigField("String", "appCode", "\"2.01\"")
  330. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  331. }
  332. brand000A {
  333. dimension "platform"
  334. applicationId "com.develop.foodcooking"
  335. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  336. resValue("string", "app_theme", "@style/SplashTheme")
  337. buildConfigField("String", "model", "\"1039\"")
  338. buildConfigField("String", "brandCode", "\"000A\"")
  339. //appCode 1.01 指向bug修复,2.01指向功能变更
  340. buildConfigField("String", "appCode", "\"1.01\"")
  341. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  342. }
  343. brand010D {
  344. manifestPlaceholders = [channelName: "brand010D"]
  345. dimension "platform"
  346. applicationId "com.develop.foodcooking"
  347. buildConfigField("String", "UpdatePlatform", "\"night\"")
  348. resValue("string", "app_theme", "@style/Splash010DTheme")
  349. buildConfigField("String", "model", "\"1039\"")
  350. buildConfigField("String", "brandCode", "\"010D\"")
  351. //appCode 1.01 指向bug修复,2.01指向功能变更
  352. buildConfigField("String", "appCode", "\"1.01\"")
  353. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  354. }
  355. brand010H {
  356. manifestPlaceholders = [channelName: "brand010H"]
  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", "\"010H\"")
  363. //appCode 1.01 指向bug修复,2.01指向功能变更
  364. buildConfigField("String", "appCode", "\"1.01\"")
  365. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  366. }
  367. brand010I {
  368. manifestPlaceholders = [channelName: "brand010I"]
  369. dimension "platform"
  370. applicationId "com.develop.foodcooking"
  371. buildConfigField("String", "UpdatePlatform", "\"night\"")
  372. resValue("string", "app_theme", "@style/Splash010DTheme")
  373. buildConfigField("String", "model", "\"1039\"")
  374. buildConfigField("String", "brandCode", "\"010I\"")
  375. //appCode 1.01 指向bug修复,2.01指向功能变更
  376. buildConfigField("String", "appCode", "\"1.01\"")
  377. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  378. }
  379. brand010F {
  380. dimension "platform"
  381. applicationId "com.develop.foodcooking"
  382. buildConfigField("String", "UpdatePlatform", "\"night\"")
  383. resValue("string", "app_theme", "@style/Splash010DTheme")
  384. buildConfigField("String", "model", "\"1039\"")
  385. buildConfigField("String", "brandCode", "\"010F\"")
  386. //appCode 1.01 指向bug修复,2.01指向功能变更
  387. buildConfigField("String", "appCode", "\"1.01\"")
  388. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  389. }
  390. brand010DUpdate {
  391. dimension "platform"
  392. applicationId "com.develop.foodcooking"
  393. buildConfigField("String", "UpdatePlatform", "\"night\"")
  394. resValue("string", "app_theme", "@style/Splash010DTheme")
  395. buildConfigField("String", "model", "\"1039\"")
  396. buildConfigField("String", "brandCode", "\"010D\"")
  397. //appCode 1.01 指向bug修复,2.01指向功能变更
  398. buildConfigField("String", "appCode", "\"1.01\"")
  399. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  400. }
  401. brand010FUpdate {
  402. dimension "platform"
  403. applicationId "com.develop.foodcooking"
  404. buildConfigField("String", "UpdatePlatform", "\"night\"")
  405. resValue("string", "app_theme", "@style/Splash010DTheme")
  406. buildConfigField("String", "model", "\"1039\"")
  407. buildConfigField("String", "brandCode", "\"010F\"")
  408. //appCode 1.01 指向bug修复,2.01指向功能变更
  409. buildConfigField("String", "appCode", "\"1.01\"")
  410. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  411. }
  412. brand025ATuya {
  413. manifestPlaceholders = [channelName: "brand025ATuya"]
  414. dimension "platform"
  415. applicationId "com.develop.foodcooking"
  416. buildConfigField("String", "UpdatePlatform", "\"night\"")
  417. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  418. buildConfigField("String", "model", "\"1039\"")
  419. buildConfigField("String", "brandCode", "\"025A\"")
  420. //appCode 1.01 指向bug修复,2.01指向功能变更
  421. buildConfigField("String", "appCode", "\"1.01\"")
  422. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  423. // buildConfigField("String", "appCode", "\"2.01\"")
  424. }
  425. brand030A {
  426. dimension "platform"
  427. applicationId "com.develop.foodcooking"
  428. resValue("string", "app_theme", "@style/SplashTheme")
  429. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  430. buildConfigField("String", "model", "\"1039\"")
  431. buildConfigField("String", "brandCode", "\"030A\"")
  432. //appCode 1.01 指向bug修复,2.01指向功能变更
  433. buildConfigField("String", "appCode", "\"1.01\"")
  434. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  435. }
  436. brand032DTuya {
  437. manifestPlaceholders = [channelName: "brand032DTuya"]
  438. dimension "platform"
  439. applicationId "com.develop.foodcooking"
  440. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  441. resValue("string", "app_theme", "@style/Splash032DTheme")
  442. buildConfigField("String", "model", "\"1039\"")
  443. buildConfigField("String", "brandCode", "\"032D\"")
  444. //appCode 1.01 指向bug修复,2.01指向功能变更
  445. buildConfigField("String", "appCode", "\"1.01\"")
  446. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  447. }
  448. brand032D {
  449. dimension "platform"
  450. applicationId "com.develop.foodcooking"
  451. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  452. resValue("string", "app_theme", "@style/Splash032DTheme")
  453. //appCode 1.01 指向bug修复,2.01指向功能变更
  454. buildConfigField("String", "appCode", "\"1.01\"")
  455. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  456. }
  457. brand032ETuya {
  458. manifestPlaceholders = [channelName: "brand032ETuya"]
  459. dimension "platform"
  460. applicationId "com.develop.foodcooking"
  461. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  462. resValue("string", "app_theme", "@style/Splash032DTheme")
  463. buildConfigField("String", "model", "\"1039\"")
  464. buildConfigField("String", "brandCode", "\"032E\"")
  465. //appCode 1.01 指向bug修复,2.01指向功能变更
  466. buildConfigField("String", "appCode", "\"1.01\"")
  467. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  468. }
  469. brand002DTuya {
  470. manifestPlaceholders = [channelName: "brand002DTuya"]
  471. dimension "platform"
  472. applicationId "com.develop.foodcooking"
  473. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  474. resValue("string", "app_theme", "@style/Splash002DTheme")
  475. buildConfigField("String", "model", "\"1039\"")
  476. buildConfigField("String", "brandCode", "\"002D\"")
  477. //appCode 1.01 指向bug修复,2.01指向功能变更
  478. buildConfigField("String", "appCode", "\"1.01\"")
  479. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  480. }
  481. brand007DTuya {
  482. dimension "platform"
  483. applicationId "com.develop.foodcooking"
  484. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  485. resValue("string", "app_theme", "@style/Splash007DTheme")
  486. //appCode 1.01 指向bug修复,2.01指向功能变更
  487. buildConfigField("String", "appCode", "\"1.01\"")
  488. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  489. }
  490. brand049BTuya {
  491. manifestPlaceholders = [channelName: "brand049BTuya"]
  492. dimension "platform"
  493. applicationId "com.develop.foodcooking"
  494. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  495. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  496. buildConfigField("String", "model", "\"1039\"")
  497. //appCode 1.01 指向bug修复,2.01指向功能变更
  498. buildConfigField("String", "appCode", "\"1.01\"")
  499. buildConfigField("String", "brandCode", "\"049B\"")
  500. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  501. }
  502. brand053A {
  503. manifestPlaceholders = [channelName: "brand053A"]
  504. dimension "platform"
  505. applicationId "com.develop.foodcooking"
  506. buildConfigField("String", "UpdatePlatform", "\"night\"")
  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", "\"053A\"")
  512. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  513. }
  514. brand054ATuya {
  515. manifestPlaceholders = [channelName: "brand054ATuya"]
  516. dimension "platform"
  517. applicationId "com.develop.foodcooking"
  518. buildConfigField("String", "UpdatePlatform", "\"night\"")
  519. resValue("string", "app_theme", "@style/Splash054ATheme")
  520. buildConfigField("String", "model", "\"1039\"")
  521. buildConfigField("String", "brandCode", "\"054A\"")
  522. //appCode 1.01 指向bug修复,2.01指向功能变更
  523. buildConfigField("String", "appCode", "\"1.01\"")
  524. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  525. }
  526. brand054A5037Tuya {
  527. manifestPlaceholders = [channelName: "brand054A5037Tuya"]
  528. dimension "platform"
  529. applicationId "com.develop.foodcooking"
  530. buildConfigField("String", "UpdatePlatform", "\"night\"")
  531. resValue("string", "app_theme", "@style/Splash054ATheme")
  532. buildConfigField("String", "model", "\"5037\"")
  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. brand058A {
  539. manifestPlaceholders = [channelName: "brand058A"]
  540. dimension "platform"
  541. applicationId "com.develop.foodcooking"
  542. resValue("string", "app_theme", "@style/Splash062ATheme")
  543. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  544. buildConfigField("String", "model", "\"1039\"")
  545. buildConfigField("String", "brandCode", "\"058A\"")
  546. //appCode 1.01 指向bug修复,2.01指向功能变更
  547. buildConfigField("String", "appCode", "\"1.01\"")
  548. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  549. // buildConfigField("String", "appCode", "\"2.01\"")
  550. }
  551. brand062ATuya {
  552. manifestPlaceholders = [channelName: "brand062ATuya"]
  553. dimension "platform"
  554. applicationId "com.develop.foodcooking"
  555. resValue("string", "app_theme", "@style/Splash062ATheme")
  556. buildConfigField("String", "UpdatePlatform", "\"062A\"")
  557. buildConfigField("String", "model", "\"1039\"")
  558. buildConfigField("String", "brandCode", "\"062A\"")
  559. //appCode 1.01 指向bug修复,2.01指向功能变更
  560. buildConfigField("String", "appCode", "\"1.01\"")
  561. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  562. // buildConfigField("String", "appCode", "\"2.01\"")
  563. }
  564. brand063ATuya {
  565. dimension "platform"
  566. applicationId "com.develop.foodcooking"
  567. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  568. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  569. buildConfigField("String", "model", "\"1039\"")
  570. buildConfigField("String", "brandCode", "\"063A\"")
  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. brand063BTuya {
  577. manifestPlaceholders = [channelName: "brand063BTuya"]
  578. dimension "platform"
  579. applicationId "com.develop.foodcooking"
  580. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  581. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  582. buildConfigField("String", "model", "\"1039\"")
  583. buildConfigField("String", "brandCode", "\"063B\"")
  584. //appCode 1.01 指向bug修复,2.01指向功能变更
  585. buildConfigField("String", "appCode", "\"1.01\"")
  586. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  587. // buildConfigField("String", "appCode", "\"2.01\"")
  588. }
  589. brand077ATuya {
  590. manifestPlaceholders = [channelName: "brand077ATuya"]
  591. dimension "platform"
  592. applicationId "com.develop.foodcooking"
  593. buildConfigField("String", "UpdatePlatform", "\"night\"")
  594. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  595. buildConfigField("String", "model", "\"1039\"")
  596. buildConfigField("String", "brandCode", "\"077A\"")
  597. //appCode 1.01 指向bug修复,2.01指向功能变更
  598. buildConfigField("String", "appCode", "\"1.01\"")
  599. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  600. // buildConfigField("String", "appCode", "\"2.01\"")
  601. }
  602. }
  603. // sourceSets {
  604. // main {
  605. // manifest.srcFile 'src/main/AndroidManifest.xml'
  606. // java.srcDirs = ['src/main/java']
  607. // resources.srcDirs = ['src/main/resources']
  608. // aidl.srcDirs = ['src/main/aidl']
  609. // renderscript.srcDirs = ['src/maom']
  610. // res.srcDirs = ['src/main/res']
  611. // assets.srcDirs = ['src/main/assets']
  612. // jniLibs.srcDir 'src/main/jniLibs'
  613. // }
  614. //
  615. // //用各自对应的资源文件路径
  616. // brand011ATuya.res.srcDirs = ['src/main/res-zerooneone']
  617. //// huawei.res.srcDirs = ['src/main/res-huawei']
  618. //
  619. // // Move the tests to tests/java, tests/res, etc...
  620. // androidTest.setRoot('tests')
  621. // // Move the build types to build-types/<type>
  622. // // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  623. // // This moves them out of them default location under src/<type>/... which would
  624. // // conflict with src/ being used by the main source set.
  625. // // Adding new build types or product flavors should be accompanied
  626. // // by a similar customization.
  627. // debug.setRoot('build-types/debug')
  628. // release.setRoot('build-types/release')
  629. // }
  630. signingConfigs {
  631. debug {
  632. storeFile file('..\\signature\\rk.jks')
  633. storePassword '123456'
  634. keyAlias 'rk'
  635. keyPassword '123456'
  636. }
  637. foodCooking {
  638. storeFile file("..\\signature\\rk.jks")
  639. storePassword '123456'
  640. keyAlias 'rk'
  641. keyPassword '123456'
  642. }
  643. release {
  644. storeFile file('..\\signature\\rk.jks')
  645. storePassword '123456'
  646. keyAlias 'rk'
  647. keyPassword '123456'
  648. }
  649. }
  650. buildTypes {
  651. release {
  652. minifyEnabled false
  653. debuggable true
  654. productFlavors.brand010D.signingConfig signingConfigs.release
  655. productFlavors.brand029CTuya.signingConfig signingConfigs.release
  656. productFlavors.brand000ATuya.signingConfig signingConfigs.release
  657. productFlavors.brand030A.signingConfig signingConfigs.release
  658. productFlavors.brand011ATuya.signingConfig signingConfigs.release
  659. productFlavors.brand036ITuya.signingConfig signingConfigs.release
  660. productFlavors.brand030ATuya.signingConfig signingConfigs.release
  661. productFlavors.brand017ATuya.signingConfig signingConfigs.release
  662. productFlavors.brand036I.signingConfig signingConfigs.release
  663. productFlavors.brand000A.signingConfig signingConfigs.release
  664. productFlavors.brand045ATuya.signingConfig signingConfigs.release
  665. productFlavors.brand032DTuya.signingConfig signingConfigs.release
  666. productFlavors.brand032D.signingConfig signingConfigs.release
  667. productFlavors.brand063ATuya.signingConfig signingConfigs.release
  668. productFlavors.brand002DTuya.signingConfig signingConfigs.release
  669. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  670. }
  671. debug {
  672. debuggable true
  673. productFlavors.brand032DTuya.signingConfig signingConfigs.debug
  674. // buildConfigField("String", "UpdatePlatform", "\"054A\"")
  675. ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
  676. // resValue("string", "app_theme", "@style/Splash054ATheme")
  677. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  678. // resValue("string", "app_theme", "@style/SplashTheme")
  679. // buildConfigField("String", "model", "\"1039\"")
  680. // buildConfigField("String", "brandCode", "\"017A\"")
  681. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  682. // buildConfigField("String", "appCode", "\"1.01\"")
  683. // buildConfigField("String", "appCode", "\"2.01\"")
  684. // resValue("string", "app_theme", "@style/SplashTheme")
  685. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  686. // buildConfigField("String", "model", "\"5037\"")
  687. // buildConfigField("String", "brandCode", "\"000A\"")
  688. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  689. // buildConfigField("String", "appCode", "\"1.01\"")
  690. //// buildConfigField("String", "appCode", "\"2.01\"")
  691. // manifestPlaceholders = [channelName: "brand0062ATuya"]
  692. // resValue("string", "app_theme", "@style/Splash062ATheme")
  693. // buildConfigField("String", "UpdatePlatform", "\"062A\"")
  694. // buildConfigField("String", "model", "\"1039\"")
  695. // buildConfigField("String", "brandCode", "\"062A\"")
  696. // //appCode 1.01 指向bug修复,2.01指向功能变更
  697. // buildConfigField("String", "appCode", "\"1.01\"")
  698. // manifestPlaceholders = [channelName: "brand000BTuya"]
  699. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  700. // resValue("string", "app_theme", "@style/SplashTheme")
  701. // buildConfigField("String", "model", "\"1039\"")
  702. // buildConfigField("String", "brandCode", "\"000B\"")
  703. // //appCode 1.01 指向bug修复,2.01指向功能变更
  704. // buildConfigField("String", "appCode", "\"1.01\"")
  705. //
  706. manifestPlaceholders = [channelName: "brand000ATuya"]
  707. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  708. resValue("string", "app_theme", "@style/SplashTheme")
  709. buildConfigField("String", "model", "\"1039\"")
  710. buildConfigField("String", "brandCode", "\"000A\"")
  711. //appCode 1.01 指向bug修复,2.01指向功能变更
  712. buildConfigField("String", "appCode", "\"1.01\"")
  713. // manifestPlaceholders = [channelName: "brand000ATuya"]
  714. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  715. // resValue("string", "app_theme", "@style/SplashTheme")
  716. // buildConfigField("String", "model", "\"5067\"")
  717. // buildConfigField("String", "brandCode", "\"000A\"")
  718. // //appCode 1.01 指向bug修复,2.01指向功能变更
  719. // buildConfigField("String", "appCode", "\"1.01\"")
  720. // manifestPlaceholders = [channelName: "brand011ATuya"]
  721. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  722. // resValue("string", "app_theme", "@style/Splash011ATheme")
  723. // buildConfigField("String", "model", "\"1039\"")
  724. // buildConfigField("String", "brandCode", "\"011A\"")
  725. // //appCode 1.01 指向bug修复,2.01指向功能变更
  726. // buildConfigField("String", "appCode", "\"1.01\"")
  727. // manifestPlaceholders = [channelName: "brand011DTuya"]
  728. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  729. // resValue("string", "app_theme", "@style/Splash011DTheme")
  730. // buildConfigField("String", "model", "\"1039\"")
  731. // buildConfigField("String", "brandCode", "\"011D\"")
  732. // //appCode 1.01 指向bug修复,2.01指向功能变更
  733. // buildConfigField("String", "appCode", "\"1.01\"")
  734. // manifestPlaceholders = [channelName: "brand032DTuya"]
  735. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  736. // resValue("string", "app_theme", "@style/Splash032DTheme")
  737. // buildConfigField("String", "model", "\"1039\"")
  738. // buildConfigField("String", "brandCode", "\"032D\"")
  739. // //appCode 1.01 指向bug修复,2.01指向功能变更
  740. // buildConfigField("String", "appCode", "\"1.01\"")
  741. //
  742. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  743. // resValue("string", "app_theme", "@style/Splash010DTheme")
  744. // buildConfigField("String", "model", "\"1039\"")
  745. // buildConfigField("String", "brandCode", "\"010D\"")
  746. // //appCode 1.01 指向bug修复,2.01指向功能变更
  747. // buildConfigField("String", "appCode", "\"1.01\"")
  748. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  749. // resValue("string", "app_theme", "@style/Splash010DTheme")
  750. // buildConfigField("String", "model", "\"1039\"")
  751. // buildConfigField("String", "brandCode", "\"010F\"")
  752. // //appCode 1.01 指向bug修复,2.01指向功能变更
  753. // buildConfigField("String", "appCode", "\"1.01\"")
  754. // buildConfigField("String", "UpdatePlatform", "\"011A\"")
  755. // resValue("string", "app_theme", "@style/Splash011ATheme")
  756. // buildConfigField("String", "model", "\"1039\"")
  757. // buildConfigField("String", "brandCode", "\"011A\"")
  758. // // //appCode 1.01 指向bug修复,2.01指向功能变更
  759. // buildConfigField("String", "appCode", "\"1.01\"")
  760. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  761. // resValue("string", "app_theme", "@style/SplashTheme")
  762. // buildConfigField("String", "model", "\"1039\"")
  763. // buildConfigField("String", "brandCode", "\"030A\"")
  764. // //appCode 1.01 指向bug修复,2.01指向功能变更
  765. // buildConfigField("String", "appCode", "\"1.01\"")
  766. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  767. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  768. // buildConfigField("String", "model", "\"1039\"")
  769. // buildConfigField("String", "brandCode", "\"014A\"")
  770. // //appCode 1.01 指向bug修复,2.01指向功能变更
  771. // buildConfigField("String", "appCode", "\"1.01\"")
  772. //
  773. // manifestPlaceholders = [channelName: "brand033HTuya"]
  774. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  775. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  776. // buildConfigField("String", "model", "\"1039\"")
  777. // buildConfigField("String", "brandCode", "\"033H\"")
  778. // //appCode 1.01 指向bug修复,2.01指向功能变更
  779. // buildConfigField("String", "appCode", "\"1.01\"")
  780. // buildConfigField("String", "appCode", "\"2.01\"")
  781. // manifestPlaceholders = [channelName: "brand033FTuya"]
  782. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  783. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  784. // buildConfigField("String", "model", "\"1039\"")
  785. // buildConfigField("String", "brandCode", "\"033F\"")
  786. // //appCode 1.01 指向bug修复,2.01指向功能变更
  787. // buildConfigField("String", "appCode", "\"1.01\"")
  788. // manifestPlaceholders = [channelName: "brand029CTuya"]
  789. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  790. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  791. // buildConfigField("String", "model", "\"1039\"")
  792. // buildConfigField("String", "brandCode", "\"029C\"")
  793. // //appCode 1.01 指向bug修复,2.01指向功能变更
  794. // buildConfigField("String", "appCode", "\"1.01\"")
  795. // manifestPlaceholders = [channelName: "brand033ITuya"]
  796. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  797. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  798. // buildConfigField("String", "model", "\"1039\"")
  799. // buildConfigField("String", "brandCode", "\"033I\"")
  800. // //appCode 1.01 指向bug修复,2.01指向功能变更
  801. // buildConfigField("String", "appCode", "\"1.01\"")
  802. // buildConfigField("String", "appCode", "\"2.01\"")
  803. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  804. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  805. // buildConfigField("String", "model", "\"1039\"")
  806. // buildConfigField("String", "brandCode", "\"049B\"")
  807. // //appCode 1.01 指向bug修复,2.01指向功能变更
  808. // buildConfigField("String", "appCode", "\"1.01\"")
  809. //
  810. //
  811. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  812. // manifestPlaceholders = [channelName: "brand036I"]
  813. // buildConfigField("String", "UpdatePlatform", "\"036I\"")
  814. // resValue("string", "app_theme", "@style/Splash036IDTheme")
  815. // ` buildConfigField("String", "model", "\"1039\"")
  816. // buildConfigField("String", "brandCode", "\"036I\"")
  817. // //appCode 1.01 指向bug修复,2.01指向功能变更
  818. // buildConfigField("String", "appCode", "\"1.01\"")
  819. // manifestPlaceholders = [channelName: "brand011ETuya"]
  820. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  821. // resValue("string", "app_theme", "@style/Splash011ETheme")
  822. // buildConfigField("String", "model", "\"5037\"")
  823. // buildConfigField("String", "brandCode", "\"011E\"")
  824. // //appCode 1.01 指向bug修复,2.01指向功能变更
  825. // buildConfigField("String", "appCode", "\"1.01\"")
  826. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  827. // manifestPlaceholders = [channelName: "brand045ATuya"]
  828. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  829. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  830. // buildConfigField("String", "model", "\"5037\"")
  831. // buildConfigField("String", "brandCode", "\"045A\"")
  832. // //appCode 1.01 指向bug修复,2.01指向功能变更
  833. // buildConfigField("String", "appCode", "\"1.01\"")
  834. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  835. // manifestPlaceholders = [channelName: "brand010D"]
  836. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  837. // resValue("string", "app_theme", "@style/Splash010DTheme")
  838. // buildConfigField("String", "model", "\"1039\"")
  839. // buildConfigField("String", "brandCode", "\"010D\"")
  840. // //appCode 1.01 指向bug修复,2.01指向功能变更
  841. // buildConfigField("String", "appCode", "\"1.01\"")
  842. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  843. // manifestPlaceholders = [channelName: "brand002DTuya"]
  844. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  845. // resValue("string", "app_theme", "@style/Splash002DTheme")
  846. // buildConfigField("String", "model", "\"1039\"")
  847. // buildConfigField("String", "brandCode", "\"002D\"")
  848. // //appCode 1.01 指向bug修复,2.01指向功能变更
  849. // buildConfigField("String", "appCode", "\"1.01\"")
  850. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  851. ////
  852. // manifestPlaceholders = [channelName: "brand063BTuya"]
  853. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  854. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  855. // buildConfigField("String", "model", "\"1039\"")
  856. // buildConfigField("String", "brandCode", "\"063B\"")
  857. // //appCode 1.01 指向bug修复,2.01指向功能变更
  858. // buildConfigField("String", "appCode", "\"1.01\"")
  859. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  860. //
  861. // manifestPlaceholders = [channelName: "brand053A"]
  862. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  863. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  864. // buildConfigField("String", "model", "\"1039\"")
  865. // buildConfigField("String", "brandCode", "\"053A\"")
  866. // //appCode 1.01 指向bug修复,2.01指向功能变更
  867. // buildConfigField("String", "appCode", "\"1.01\"")
  868. // manifestPlaceholders = [channelName: "brand054ATuya"]
  869. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  870. // resValue("string", "app_theme", "@style/Splash054ATheme")
  871. // buildConfigField("String", "model", "\"5037\"")
  872. // buildConfigField("String", "brandCode", "\"054A\"")
  873. // //appCode 1.01 指向bug修复,2.01指向功能变更
  874. // buildConfigField("String", "appCode", "\"1.01\"")
  875. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  876. // manifestPlaceholders = [channelName: "brand025ATuya"]
  877. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  878. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  879. // buildConfigField("String", "model", "\"1039\"")
  880. // buildConfigField("String", "brandCode", "\"025A\"")
  881. // //appCode 1.01 指向bug修复,2.01指向功能变更
  882. // buildConfigField("String", "appCode", "\"1.01\"")
  883. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  884. // manifestPlaceholders = [channelName: "brand077ATuya"]
  885. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  886. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  887. // buildConfigField("String", "model", "\"1039\"")
  888. // buildConfigField("String", "brandCode", "\"077A\"")
  889. // //appCode 1.01 指向bug修复,2.01指向功能变更
  890. // buildConfigField("String", "appCode", "\"1.01\"")
  891. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  892. }
  893. }
  894. compileOptions {
  895. sourceCompatibility JavaVersion.VERSION_1_8
  896. targetCompatibility JavaVersion.VERSION_1_8
  897. }
  898. kotlinOptions {
  899. jvmTarget = '1.8'
  900. }
  901. viewBinding {
  902. enabled = true
  903. }
  904. }
  905. dependencies {
  906. implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
  907. implementation project(path: ':BusinessCommon')//业务相关的基础类
  908. implementation project(path: ':BusinessMain') //烹饪主模块
  909. implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
  910. implementation project(path: ':BusinessSetting') //设置模块
  911. implementation project(path: ':BusinessStep') //烹饪步骤模块
  912. kapt 'com.alibaba:arouter-compiler:1.5.2'
  913. }