build.gradle 46 KB

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