build.gradle 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012
  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. minifyEnabled false
  619. debuggable true
  620. productFlavors.brand010D.signingConfig signingConfigs.release
  621. productFlavors.brand029CTuya.signingConfig signingConfigs.release
  622. productFlavors.brand000ATuya.signingConfig signingConfigs.release
  623. productFlavors.brand030A.signingConfig signingConfigs.release
  624. productFlavors.brand011ATuya.signingConfig signingConfigs.release
  625. productFlavors.brand036ITuya.signingConfig signingConfigs.release
  626. productFlavors.brand030ATuya.signingConfig signingConfigs.release
  627. productFlavors.brand017ATuya.signingConfig signingConfigs.release
  628. productFlavors.brand036I.signingConfig signingConfigs.release
  629. productFlavors.brand000A.signingConfig signingConfigs.release
  630. productFlavors.brand045ATuya.signingConfig signingConfigs.release
  631. productFlavors.brand032DTuya.signingConfig signingConfigs.release
  632. productFlavors.brand032D.signingConfig signingConfigs.release
  633. productFlavors.brand063ATuya.signingConfig signingConfigs.release
  634. productFlavors.brand002DTuya.signingConfig signingConfigs.release
  635. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  636. }
  637. debug {
  638. debuggable true
  639. productFlavors.brand032DTuya.signingConfig signingConfigs.debug
  640. // buildConfigField("String", "UpdatePlatform", "\"054A\"")
  641. ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
  642. // resValue("string", "app_theme", "@style/Splash054ATheme")
  643. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  644. // resValue("string", "app_theme", "@style/SplashTheme")
  645. // buildConfigField("String", "model", "\"1039\"")
  646. // buildConfigField("String", "brandCode", "\"017A\"")
  647. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  648. // buildConfigField("String", "appCode", "\"1.01\"")
  649. // buildConfigField("String", "appCode", "\"2.01\"")
  650. // resValue("string", "app_theme", "@style/SplashTheme")
  651. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  652. // buildConfigField("String", "model", "\"5037\"")
  653. // buildConfigField("String", "brandCode", "\"000A\"")
  654. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  655. // buildConfigField("String", "appCode", "\"1.01\"")
  656. //// buildConfigField("String", "appCode", "\"2.01\"")
  657. // manifestPlaceholders = [channelName: "brand0062ATuya"]
  658. // resValue("string", "app_theme", "@style/Splash062ATheme")
  659. // buildConfigField("String", "UpdatePlatform", "\"062A\"")
  660. // buildConfigField("String", "model", "\"1039\"")
  661. // buildConfigField("String", "brandCode", "\"062A\"")
  662. // //appCode 1.01 指向bug修复,2.01指向功能变更
  663. // buildConfigField("String", "appCode", "\"1.01\"")
  664. //
  665. // manifestPlaceholders = [channelName: "brand000ATuya"]
  666. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  667. // resValue("string", "app_theme", "@style/SplashTheme")
  668. // buildConfigField("String", "model", "\"1039\"")
  669. // buildConfigField("String", "brandCode", "\"000A\"")
  670. // //appCode 1.01 指向bug修复,2.01指向功能变更
  671. // buildConfigField("String", "appCode", "\"1.01\"")
  672. // manifestPlaceholders = [channelName: "brand000ATuya"]
  673. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  674. // resValue("string", "app_theme", "@style/SplashTheme")
  675. // buildConfigField("String", "model", "\"5067\"")
  676. // buildConfigField("String", "brandCode", "\"000A\"")
  677. // //appCode 1.01 指向bug修复,2.01指向功能变更
  678. // buildConfigField("String", "appCode", "\"1.01\"")
  679. manifestPlaceholders = [channelName: "brand011ATuya"]
  680. buildConfigField("String", "UpdatePlatform", "\"011\"")
  681. resValue("string", "app_theme", "@style/Splash011ATheme")
  682. buildConfigField("String", "model", "\"1039\"")
  683. buildConfigField("String", "brandCode", "\"011A\"")
  684. //appCode 1.01 指向bug修复,2.01指向功能变更
  685. buildConfigField("String", "appCode", "\"1.01\"")
  686. // manifestPlaceholders = [channelName: "brand011DTuya"]
  687. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  688. // resValue("string", "app_theme", "@style/Splash011DTheme")
  689. // buildConfigField("String", "model", "\"1039\"")
  690. // buildConfigField("String", "brandCode", "\"011D\"")
  691. // //appCode 1.01 指向bug修复,2.01指向功能变更
  692. // buildConfigField("String", "appCode", "\"1.01\"")
  693. // manifestPlaceholders = [channelName: "brand032DTuya"]
  694. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  695. // resValue("string", "app_theme", "@style/Splash032DTheme")
  696. // buildConfigField("String", "model", "\"1039\"")
  697. // buildConfigField("String", "brandCode", "\"032D\"")
  698. // //appCode 1.01 指向bug修复,2.01指向功能变更
  699. // buildConfigField("String", "appCode", "\"1.01\"")
  700. //
  701. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  702. // resValue("string", "app_theme", "@style/Splash010DTheme")
  703. // buildConfigField("String", "model", "\"1039\"")
  704. // buildConfigField("String", "brandCode", "\"010D\"")
  705. // //appCode 1.01 指向bug修复,2.01指向功能变更
  706. // buildConfigField("String", "appCode", "\"1.01\"")
  707. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  708. // resValue("string", "app_theme", "@style/Splash010DTheme")
  709. // buildConfigField("String", "model", "\"1039\"")
  710. // buildConfigField("String", "brandCode", "\"010F\"")
  711. // //appCode 1.01 指向bug修复,2.01指向功能变更
  712. // buildConfigField("String", "appCode", "\"1.01\"")
  713. // buildConfigField("String", "UpdatePlatform", "\"011A\"")
  714. // resValue("string", "app_theme", "@style/Splash011ATheme")
  715. // buildConfigField("String", "model", "\"1039\"")
  716. // buildConfigField("String", "brandCode", "\"011A\"")
  717. // // //appCode 1.01 指向bug修复,2.01指向功能变更
  718. // buildConfigField("String", "appCode", "\"1.01\"")
  719. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  720. // resValue("string", "app_theme", "@style/SplashTheme")
  721. // buildConfigField("String", "model", "\"1039\"")
  722. // buildConfigField("String", "brandCode", "\"030A\"")
  723. // //appCode 1.01 指向bug修复,2.01指向功能变更
  724. // buildConfigField("String", "appCode", "\"1.01\"")
  725. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  726. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  727. // buildConfigField("String", "model", "\"1039\"")
  728. // buildConfigField("String", "brandCode", "\"014A\"")
  729. // //appCode 1.01 指向bug修复,2.01指向功能变更
  730. // buildConfigField("String", "appCode", "\"1.01\"")
  731. //
  732. // manifestPlaceholders = [channelName: "brand033HTuya"]
  733. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  734. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  735. // buildConfigField("String", "model", "\"1039\"")
  736. // buildConfigField("String", "brandCode", "\"033H\"")
  737. // //appCode 1.01 指向bug修复,2.01指向功能变更
  738. // buildConfigField("String", "appCode", "\"1.01\"")
  739. // buildConfigField("String", "appCode", "\"2.01\"")
  740. // manifestPlaceholders = [channelName: "brand033FTuya"]
  741. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  742. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  743. // buildConfigField("String", "model", "\"1039\"")
  744. // buildConfigField("String", "brandCode", "\"033F\"")
  745. // //appCode 1.01 指向bug修复,2.01指向功能变更
  746. // buildConfigField("String", "appCode", "\"1.01\"")
  747. // manifestPlaceholders = [channelName: "brand029CTuya"]
  748. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  749. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  750. // buildConfigField("String", "model", "\"1039\"")
  751. // buildConfigField("String", "brandCode", "\"029C\"")
  752. // //appCode 1.01 指向bug修复,2.01指向功能变更
  753. // buildConfigField("String", "appCode", "\"1.01\"")
  754. // manifestPlaceholders = [channelName: "brand033ITuya"]
  755. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  756. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  757. // buildConfigField("String", "model", "\"1039\"")
  758. // buildConfigField("String", "brandCode", "\"033I\"")
  759. // //appCode 1.01 指向bug修复,2.01指向功能变更
  760. // buildConfigField("String", "appCode", "\"1.01\"")
  761. // buildConfigField("String", "appCode", "\"2.01\"")
  762. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  763. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  764. // buildConfigField("String", "model", "\"1039\"")
  765. // buildConfigField("String", "brandCode", "\"049B\"")
  766. // //appCode 1.01 指向bug修复,2.01指向功能变更
  767. // buildConfigField("String", "appCode", "\"1.01\"")
  768. //
  769. //
  770. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  771. // manifestPlaceholders = [channelName: "brand036I"]
  772. // buildConfigField("String", "UpdatePlatform", "\"036I\"")
  773. // resValue("string", "app_theme", "@style/Splash036IDTheme")
  774. // ` buildConfigField("String", "model", "\"1039\"")
  775. // buildConfigField("String", "brandCode", "\"036I\"")
  776. // //appCode 1.01 指向bug修复,2.01指向功能变更
  777. // buildConfigField("String", "appCode", "\"1.01\"")
  778. // manifestPlaceholders = [channelName: "brand011ETuya"]
  779. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  780. // resValue("string", "app_theme", "@style/Splash011ETheme")
  781. // buildConfigField("String", "model", "\"5037\"")
  782. // buildConfigField("String", "brandCode", "\"011E\"")
  783. // //appCode 1.01 指向bug修复,2.01指向功能变更
  784. // buildConfigField("String", "appCode", "\"1.01\"")
  785. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  786. // manifestPlaceholders = [channelName: "brand045ATuya"]
  787. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  788. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  789. // buildConfigField("String", "model", "\"5037\"")
  790. // buildConfigField("String", "brandCode", "\"045A\"")
  791. // //appCode 1.01 指向bug修复,2.01指向功能变更
  792. // buildConfigField("String", "appCode", "\"1.01\"")
  793. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  794. // manifestPlaceholders = [channelName: "brand010D"]
  795. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  796. // resValue("string", "app_theme", "@style/Splash010DTheme")
  797. // buildConfigField("String", "model", "\"1039\"")
  798. // buildConfigField("String", "brandCode", "\"010D\"")
  799. // //appCode 1.01 指向bug修复,2.01指向功能变更
  800. // buildConfigField("String", "appCode", "\"1.01\"")
  801. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  802. // manifestPlaceholders = [channelName: "brand002DTuya"]
  803. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  804. // resValue("string", "app_theme", "@style/Splash002DTheme")
  805. // buildConfigField("String", "model", "\"1039\"")
  806. // buildConfigField("String", "brandCode", "\"002D\"")
  807. // //appCode 1.01 指向bug修复,2.01指向功能变更
  808. // buildConfigField("String", "appCode", "\"1.01\"")
  809. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  810. ////
  811. // manifestPlaceholders = [channelName: "brand063BTuya"]
  812. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  813. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  814. // buildConfigField("String", "model", "\"1039\"")
  815. // buildConfigField("String", "brandCode", "\"063B\"")
  816. // //appCode 1.01 指向bug修复,2.01指向功能变更
  817. // buildConfigField("String", "appCode", "\"1.01\"")
  818. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  819. //
  820. // manifestPlaceholders = [channelName: "brand053A"]
  821. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  822. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  823. // buildConfigField("String", "model", "\"1039\"")
  824. // buildConfigField("String", "brandCode", "\"053A\"")
  825. // //appCode 1.01 指向bug修复,2.01指向功能变更
  826. // buildConfigField("String", "appCode", "\"1.01\"")
  827. // manifestPlaceholders = [channelName: "brand054ATuya"]
  828. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  829. // resValue("string", "app_theme", "@style/Splash054ATheme")
  830. // buildConfigField("String", "model", "\"5037\"")
  831. // buildConfigField("String", "brandCode", "\"054A\"")
  832. // //appCode 1.01 指向bug修复,2.01指向功能变更
  833. // buildConfigField("String", "appCode", "\"1.01\"")
  834. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  835. // manifestPlaceholders = [channelName: "brand025ATuya"]
  836. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  837. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  838. // buildConfigField("String", "model", "\"1039\"")
  839. // buildConfigField("String", "brandCode", "\"025A\"")
  840. // //appCode 1.01 指向bug修复,2.01指向功能变更
  841. // buildConfigField("String", "appCode", "\"1.01\"")
  842. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  843. // manifestPlaceholders = [channelName: "brand077ATuya"]
  844. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  845. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  846. // buildConfigField("String", "model", "\"1039\"")
  847. // buildConfigField("String", "brandCode", "\"077A\"")
  848. // //appCode 1.01 指向bug修复,2.01指向功能变更
  849. // buildConfigField("String", "appCode", "\"1.01\"")
  850. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  851. }
  852. }
  853. compileOptions {
  854. sourceCompatibility JavaVersion.VERSION_1_8
  855. targetCompatibility JavaVersion.VERSION_1_8
  856. }
  857. kotlinOptions {
  858. jvmTarget = '1.8'
  859. }
  860. viewBinding {
  861. enabled = true
  862. }
  863. }
  864. dependencies {
  865. implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
  866. implementation project(path: ':BusinessCommon')//业务相关的基础类
  867. implementation project(path: ':BusinessMain') //烹饪主模块
  868. implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
  869. implementation project(path: ':BusinessSetting') //设置模块
  870. implementation project(path: ':BusinessStep') //烹饪步骤模块
  871. kapt 'com.alibaba:arouter-compiler:1.5.2'
  872. }