build.gradle 46 KB

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