build.gradle 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  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 = "000A"
  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. manifestPlaceholders = [channelName: "brand049BTuya"]
  454. dimension "platform"
  455. applicationId "com.develop.foodcooking"
  456. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  457. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  458. buildConfigField("String", "model", "\"1039\"")
  459. //appCode 1.01 指向bug修复,2.01指向功能变更
  460. buildConfigField("String", "appCode", "\"1.01\"")
  461. buildConfigField("String", "brandCode", "\"049B\"")
  462. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  463. }
  464. brand053A {
  465. manifestPlaceholders = [channelName: "brand053A"]
  466. dimension "platform"
  467. applicationId "com.develop.foodcooking"
  468. buildConfigField("String", "UpdatePlatform", "\"night\"")
  469. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  470. buildConfigField("String", "model", "\"1039\"")
  471. //appCode 1.01 指向bug修复,2.01指向功能变更
  472. buildConfigField("String", "appCode", "\"1.01\"")
  473. buildConfigField("String", "brandCode", "\"053A\"")
  474. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  475. }
  476. brand054ATuya {
  477. manifestPlaceholders = [channelName: "brand054ATuya"]
  478. dimension "platform"
  479. applicationId "com.develop.foodcooking"
  480. buildConfigField("String", "UpdatePlatform", "\"night\"")
  481. resValue("string", "app_theme", "@style/Splash054ATheme")
  482. buildConfigField("String", "model", "\"1039\"")
  483. buildConfigField("String", "brandCode", "\"054A\"")
  484. //appCode 1.01 指向bug修复,2.01指向功能变更
  485. buildConfigField("String", "appCode", "\"1.01\"")
  486. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  487. }
  488. brand054A5037Tuya {
  489. manifestPlaceholders = [channelName: "brand054A5037Tuya"]
  490. dimension "platform"
  491. applicationId "com.develop.foodcooking"
  492. buildConfigField("String", "UpdatePlatform", "\"night\"")
  493. resValue("string", "app_theme", "@style/Splash054ATheme")
  494. buildConfigField("String", "model", "\"5037\"")
  495. buildConfigField("String", "brandCode", "\"054A\"")
  496. //appCode 1.01 指向bug修复,2.01指向功能变更
  497. buildConfigField("String", "appCode", "\"1.01\"")
  498. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  499. }
  500. brand058A {
  501. manifestPlaceholders = [channelName: "brand058A"]
  502. dimension "platform"
  503. applicationId "com.develop.foodcooking"
  504. resValue("string", "app_theme", "@style/Splash062ATheme")
  505. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  506. buildConfigField("String", "model", "\"1039\"")
  507. buildConfigField("String", "brandCode", "\"058A\"")
  508. //appCode 1.01 指向bug修复,2.01指向功能变更
  509. buildConfigField("String", "appCode", "\"1.01\"")
  510. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  511. // buildConfigField("String", "appCode", "\"2.01\"")
  512. }
  513. brand062ATuya {
  514. manifestPlaceholders = [channelName: "brand062ATuya"]
  515. dimension "platform"
  516. applicationId "com.develop.foodcooking"
  517. resValue("string", "app_theme", "@style/Splash062ATheme")
  518. buildConfigField("String", "UpdatePlatform", "\"062A\"")
  519. buildConfigField("String", "model", "\"1039\"")
  520. buildConfigField("String", "brandCode", "\"062A\"")
  521. //appCode 1.01 指向bug修复,2.01指向功能变更
  522. buildConfigField("String", "appCode", "\"1.01\"")
  523. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  524. // buildConfigField("String", "appCode", "\"2.01\"")
  525. }
  526. brand063ATuya {
  527. dimension "platform"
  528. applicationId "com.develop.foodcooking"
  529. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  530. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  531. buildConfigField("String", "model", "\"1039\"")
  532. buildConfigField("String", "brandCode", "\"063A\"")
  533. //appCode 1.01 指向bug修复,2.01指向功能变更
  534. buildConfigField("String", "appCode", "\"1.01\"")
  535. buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  536. // buildConfigField("String", "appCode", "\"2.01\"")
  537. }
  538. brand063BTuya {
  539. manifestPlaceholders = [channelName: "brand063BTuya"]
  540. dimension "platform"
  541. applicationId "com.develop.foodcooking"
  542. buildConfigField("String", "UpdatePlatform", "\"normal\"")
  543. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  544. buildConfigField("String", "model", "\"1039\"")
  545. buildConfigField("String", "brandCode", "\"063B\"")
  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. brand077ATuya {
  552. manifestPlaceholders = [channelName: "brand077ATuya"]
  553. dimension "platform"
  554. applicationId "com.develop.foodcooking"
  555. buildConfigField("String", "UpdatePlatform", "\"night\"")
  556. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  557. buildConfigField("String", "model", "\"1039\"")
  558. buildConfigField("String", "brandCode", "\"077A\"")
  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. }
  565. // sourceSets {
  566. // main {
  567. // manifest.srcFile 'src/main/AndroidManifest.xml'
  568. // java.srcDirs = ['src/main/java']
  569. // resources.srcDirs = ['src/main/resources']
  570. // aidl.srcDirs = ['src/main/aidl']
  571. // renderscript.srcDirs = ['src/maom']
  572. // res.srcDirs = ['src/main/res']
  573. // assets.srcDirs = ['src/main/assets']
  574. // jniLibs.srcDir 'src/main/jniLibs'
  575. // }
  576. //
  577. // //用各自对应的资源文件路径
  578. // brand011ATuya.res.srcDirs = ['src/main/res-zerooneone']
  579. //// huawei.res.srcDirs = ['src/main/res-huawei']
  580. //
  581. // // Move the tests to tests/java, tests/res, etc...
  582. // androidTest.setRoot('tests')
  583. // // Move the build types to build-types/<type>
  584. // // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  585. // // This moves them out of them default location under src/<type>/... which would
  586. // // conflict with src/ being used by the main source set.
  587. // // Adding new build types or product flavors should be accompanied
  588. // // by a similar customization.
  589. // debug.setRoot('build-types/debug')
  590. // release.setRoot('build-types/release')
  591. // }
  592. signingConfigs {
  593. debug {
  594. storeFile file('..\\signature\\rk.jks')
  595. storePassword '123456'
  596. keyAlias 'rk'
  597. keyPassword '123456'
  598. }
  599. foodCooking {
  600. storeFile file("..\\signature\\rk.jks")
  601. storePassword '123456'
  602. keyAlias 'rk'
  603. keyPassword '123456'
  604. }
  605. release {
  606. storeFile file('..\\signature\\rk.jks')
  607. storePassword '123456'
  608. keyAlias 'rk'
  609. keyPassword '123456'
  610. }
  611. }
  612. buildTypes {
  613. release {
  614. minifyEnabled false
  615. debuggable true
  616. productFlavors.brand010D.signingConfig signingConfigs.release
  617. productFlavors.brand029CTuya.signingConfig signingConfigs.release
  618. productFlavors.brand000ATuya.signingConfig signingConfigs.release
  619. productFlavors.brand030A.signingConfig signingConfigs.release
  620. productFlavors.brand011ATuya.signingConfig signingConfigs.release
  621. productFlavors.brand036ITuya.signingConfig signingConfigs.release
  622. productFlavors.brand030ATuya.signingConfig signingConfigs.release
  623. productFlavors.brand017ATuya.signingConfig signingConfigs.release
  624. productFlavors.brand036I.signingConfig signingConfigs.release
  625. productFlavors.brand000A.signingConfig signingConfigs.release
  626. productFlavors.brand045ATuya.signingConfig signingConfigs.release
  627. productFlavors.brand032DTuya.signingConfig signingConfigs.release
  628. productFlavors.brand032D.signingConfig signingConfigs.release
  629. productFlavors.brand063ATuya.signingConfig signingConfigs.release
  630. productFlavors.brand002DTuya.signingConfig signingConfigs.release
  631. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  632. }
  633. debug {
  634. debuggable true
  635. productFlavors.brand032DTuya.signingConfig signingConfigs.debug
  636. // buildConfigField("String", "UpdatePlatform", "\"054A\"")
  637. ////// buildConfigField("String", "FLAVOR", "\"brand054ATuya\"")
  638. // resValue("string", "app_theme", "@style/Splash054ATheme")
  639. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  640. // resValue("string", "app_theme", "@style/SplashTheme")
  641. // buildConfigField("String", "model", "\"1039\"")
  642. // buildConfigField("String", "brandCode", "\"017A\"")
  643. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  644. // buildConfigField("String", "appCode", "\"1.01\"")
  645. // buildConfigField("String", "appCode", "\"2.01\"")
  646. // resValue("string", "app_theme", "@style/SplashTheme")
  647. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  648. // buildConfigField("String", "model", "\"5037\"")
  649. // buildConfigField("String", "brandCode", "\"000A\"")
  650. // //versionCode 1.01 指向bug修复,2.01指向功能变更
  651. // buildConfigField("String", "appCode", "\"1.01\"")
  652. //// buildConfigField("String", "appCode", "\"2.01\"")
  653. // manifestPlaceholders = [channelName: "brand0062ATuya"]
  654. // resValue("string", "app_theme", "@style/Splash062ATheme")
  655. // buildConfigField("String", "UpdatePlatform", "\"062A\"")
  656. // buildConfigField("String", "model", "\"1039\"")
  657. // buildConfigField("String", "brandCode", "\"062A\"")
  658. // //appCode 1.01 指向bug修复,2.01指向功能变更
  659. // buildConfigField("String", "appCode", "\"1.01\"")
  660. //
  661. // manifestPlaceholders = [channelName: "brand000ATuya"]
  662. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  663. // resValue("string", "app_theme", "@style/SplashTheme")
  664. // buildConfigField("String", "model", "\"1039\"")
  665. // buildConfigField("String", "brandCode", "\"000A\"")
  666. // //appCode 1.01 指向bug修复,2.01指向功能变更
  667. // buildConfigField("String", "appCode", "\"1.01\"")
  668. // manifestPlaceholders = [channelName: "brand000ATuya"]
  669. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  670. // resValue("string", "app_theme", "@style/SplashTheme")
  671. // buildConfigField("String", "model", "\"5067\"")
  672. // buildConfigField("String", "brandCode", "\"000A\"")
  673. // //appCode 1.01 指向bug修复,2.01指向功能变更
  674. // buildConfigField("String", "appCode", "\"1.01\"")
  675. // manifestPlaceholders = [channelName: "brand011ATuya"]
  676. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  677. // resValue("string", "app_theme", "@style/Splash011ATheme")
  678. // buildConfigField("String", "model", "\"1039\"")
  679. // buildConfigField("String", "brandCode", "\"011A\"")
  680. // //appCode 1.01 指向bug修复,2.01指向功能变更
  681. // buildConfigField("String", "appCode", "\"1.01\"")
  682. // manifestPlaceholders = [channelName: "brand011DTuya"]
  683. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  684. // resValue("string", "app_theme", "@style/Splash011DTheme")
  685. // buildConfigField("String", "model", "\"1039\"")
  686. // buildConfigField("String", "brandCode", "\"011D\"")
  687. // //appCode 1.01 指向bug修复,2.01指向功能变更
  688. // buildConfigField("String", "appCode", "\"1.01\"")
  689. // manifestPlaceholders = [channelName: "brand032DTuya"]
  690. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  691. // resValue("string", "app_theme", "@style/Splash032DTheme")
  692. // buildConfigField("String", "model", "\"1039\"")
  693. // buildConfigField("String", "brandCode", "\"032D\"")
  694. // //appCode 1.01 指向bug修复,2.01指向功能变更
  695. // buildConfigField("String", "appCode", "\"1.01\"")
  696. //
  697. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  698. // resValue("string", "app_theme", "@style/Splash010DTheme")
  699. // buildConfigField("String", "model", "\"1039\"")
  700. // buildConfigField("String", "brandCode", "\"010D\"")
  701. // //appCode 1.01 指向bug修复,2.01指向功能变更
  702. // buildConfigField("String", "appCode", "\"1.01\"")
  703. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  704. // resValue("string", "app_theme", "@style/Splash010DTheme")
  705. // buildConfigField("String", "model", "\"1039\"")
  706. // buildConfigField("String", "brandCode", "\"010F\"")
  707. // //appCode 1.01 指向bug修复,2.01指向功能变更
  708. // buildConfigField("String", "appCode", "\"1.01\"")
  709. // buildConfigField("String", "UpdatePlatform", "\"011A\"")
  710. // resValue("string", "app_theme", "@style/Splash011ATheme")
  711. // buildConfigField("String", "model", "\"1039\"")
  712. // buildConfigField("String", "brandCode", "\"011A\"")
  713. // // //appCode 1.01 指向bug修复,2.01指向功能变更
  714. // buildConfigField("String", "appCode", "\"1.01\"")
  715. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  716. // resValue("string", "app_theme", "@style/SplashTheme")
  717. // buildConfigField("String", "model", "\"1039\"")
  718. // buildConfigField("String", "brandCode", "\"030A\"")
  719. // //appCode 1.01 指向bug修复,2.01指向功能变更
  720. // buildConfigField("String", "appCode", "\"1.01\"")
  721. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  722. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  723. // buildConfigField("String", "model", "\"1039\"")
  724. // buildConfigField("String", "brandCode", "\"014A\"")
  725. // //appCode 1.01 指向bug修复,2.01指向功能变更
  726. // buildConfigField("String", "appCode", "\"1.01\"")
  727. //
  728. // manifestPlaceholders = [channelName: "brand033HTuya"]
  729. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  730. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  731. // buildConfigField("String", "model", "\"1039\"")
  732. // buildConfigField("String", "brandCode", "\"033H\"")
  733. // //appCode 1.01 指向bug修复,2.01指向功能变更
  734. // buildConfigField("String", "appCode", "\"1.01\"")
  735. // buildConfigField("String", "appCode", "\"2.01\"")
  736. // manifestPlaceholders = [channelName: "brand033FTuya"]
  737. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  738. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  739. // buildConfigField("String", "model", "\"1039\"")
  740. // buildConfigField("String", "brandCode", "\"033F\"")
  741. // //appCode 1.01 指向bug修复,2.01指向功能变更
  742. // buildConfigField("String", "appCode", "\"1.01\"")
  743. // manifestPlaceholders = [channelName: "brand029CTuya"]
  744. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  745. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  746. // buildConfigField("String", "model", "\"1039\"")
  747. // buildConfigField("String", "brandCode", "\"029C\"")
  748. // //appCode 1.01 指向bug修复,2.01指向功能变更
  749. // buildConfigField("String", "appCode", "\"1.01\"")
  750. // manifestPlaceholders = [channelName: "brand033ITuya"]
  751. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  752. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  753. // buildConfigField("String", "model", "\"1039\"")
  754. // buildConfigField("String", "brandCode", "\"033I\"")
  755. // //appCode 1.01 指向bug修复,2.01指向功能变更
  756. // buildConfigField("String", "appCode", "\"1.01\"")
  757. // buildConfigField("String", "appCode", "\"2.01\"")
  758. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  759. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  760. // buildConfigField("String", "model", "\"1039\"")
  761. // buildConfigField("String", "brandCode", "\"049B\"")
  762. // //appCode 1.01 指向bug修复,2.01指向功能变更
  763. // buildConfigField("String", "appCode", "\"1.01\"")
  764. //
  765. //
  766. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  767. // manifestPlaceholders = [channelName: "brand036I"]
  768. // buildConfigField("String", "UpdatePlatform", "\"036I\"")
  769. // resValue("string", "app_theme", "@style/Splash036IDTheme")
  770. // ` buildConfigField("String", "model", "\"1039\"")
  771. // buildConfigField("String", "brandCode", "\"036I\"")
  772. // //appCode 1.01 指向bug修复,2.01指向功能变更
  773. // buildConfigField("String", "appCode", "\"1.01\"")
  774. // manifestPlaceholders = [channelName: "brand011ETuya"]
  775. // buildConfigField("String", "UpdatePlatform", "\"011\"")
  776. // resValue("string", "app_theme", "@style/Splash011ETheme")
  777. // buildConfigField("String", "model", "\"5037\"")
  778. // buildConfigField("String", "brandCode", "\"011E\"")
  779. // //appCode 1.01 指向bug修复,2.01指向功能变更
  780. // buildConfigField("String", "appCode", "\"1.01\"")
  781. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  782. // manifestPlaceholders = [channelName: "brand045ATuya"]
  783. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  784. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  785. // buildConfigField("String", "model", "\"5037\"")
  786. // buildConfigField("String", "brandCode", "\"045A\"")
  787. // //appCode 1.01 指向bug修复,2.01指向功能变更
  788. // buildConfigField("String", "appCode", "\"1.01\"")
  789. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  790. // manifestPlaceholders = [channelName: "brand010D"]
  791. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  792. // resValue("string", "app_theme", "@style/Splash010DTheme")
  793. // buildConfigField("String", "model", "\"1039\"")
  794. // buildConfigField("String", "brandCode", "\"010D\"")
  795. // //appCode 1.01 指向bug修复,2.01指向功能变更
  796. // buildConfigField("String", "appCode", "\"1.01\"")
  797. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  798. // manifestPlaceholders = [channelName: "brand002DTuya"]
  799. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  800. // resValue("string", "app_theme", "@style/Splash002DTheme")
  801. // buildConfigField("String", "model", "\"1039\"")
  802. // buildConfigField("String", "brandCode", "\"002D\"")
  803. // //appCode 1.01 指向bug修复,2.01指向功能变更
  804. // buildConfigField("String", "appCode", "\"1.01\"")
  805. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  806. ////
  807. // manifestPlaceholders = [channelName: "brand063BTuya"]
  808. // buildConfigField("String", "UpdatePlatform", "\"normal\"")
  809. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  810. // buildConfigField("String", "model", "\"1039\"")
  811. // buildConfigField("String", "brandCode", "\"063B\"")
  812. // //appCode 1.01 指向bug修复,2.01指向功能变更
  813. // buildConfigField("String", "appCode", "\"1.01\"")
  814. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  815. //
  816. manifestPlaceholders = [channelName: "brand053A"]
  817. buildConfigField("String", "UpdatePlatform", "\"night\"")
  818. resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  819. buildConfigField("String", "model", "\"1039\"")
  820. buildConfigField("String", "brandCode", "\"053A\"")
  821. //appCode 1.01 指向bug修复,2.01指向功能变更
  822. buildConfigField("String", "appCode", "\"1.01\"")
  823. // manifestPlaceholders = [channelName: "brand054ATuya"]
  824. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  825. // resValue("string", "app_theme", "@style/Splash054ATheme")
  826. // buildConfigField("String", "model", "\"5037\"")
  827. // buildConfigField("String", "brandCode", "\"054A\"")
  828. // //appCode 1.01 指向bug修复,2.01指向功能变更
  829. // buildConfigField("String", "appCode", "\"1.01\"")
  830. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  831. // manifestPlaceholders = [channelName: "brand025ATuya"]
  832. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  833. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  834. // buildConfigField("String", "model", "\"1039\"")
  835. // buildConfigField("String", "brandCode", "\"025A\"")
  836. // //appCode 1.01 指向bug修复,2.01指向功能变更
  837. // buildConfigField("String", "appCode", "\"1.01\"")
  838. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  839. // manifestPlaceholders = [channelName: "brand077ATuya"]
  840. // buildConfigField("String", "UpdatePlatform", "\"night\"")
  841. // resValue("string", "app_theme", "@style/SplashThemeNotLogo")
  842. // buildConfigField("String", "model", "\"1039\"")
  843. // buildConfigField("String", "brandCode", "\"077A\"")
  844. // //appCode 1.01 指向bug修复,2.01指向功能变更
  845. // buildConfigField("String", "appCode", "\"1.01\"")
  846. // buildConfigField("String", "time","\"${getCurrentTime()}\"" )
  847. }
  848. }
  849. compileOptions {
  850. sourceCompatibility JavaVersion.VERSION_1_8
  851. targetCompatibility JavaVersion.VERSION_1_8
  852. }
  853. kotlinOptions {
  854. jvmTarget = '1.8'
  855. }
  856. viewBinding {
  857. enabled = true
  858. }
  859. }
  860. dependencies {
  861. implementation project(path: ':libBase') //基础工具模块,不涉及业务逻辑
  862. implementation project(path: ':BusinessCommon')//业务相关的基础类
  863. implementation project(path: ':BusinessMain') //烹饪主模块
  864. implementation project(path: ':BusinessAuth')//登录-注册-个人信息模块
  865. implementation project(path: ':BusinessSetting') //设置模块
  866. implementation project(path: ':BusinessStep') //烹饪步骤模块
  867. kapt 'com.alibaba:arouter-compiler:1.5.2'
  868. }