build.gradle 47 KB

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