build.gradle 46 KB

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