build.gradle 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'org.greenrobot.greendao'
  3. apply plugin: 'multi-languages'
  4. android {
  5. compileSdkVersion rootProject.ext.compileSdkVersion
  6. buildToolsVersion rootProject.ext.buildToolsVersion
  7. defaultConfig {
  8. applicationId "com.starbuds.app"
  9. minSdkVersion rootProject.ext.minSdkVersion
  10. targetSdkVersion rootProject.ext.targetSdkVersion
  11. versionCode 202012250
  12. versionName "1.4.2"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. multiDexEnabled true
  15. buildConfigField("boolean", "hidden", "true")
  16. // 是否有第三方登录
  17. buildConfigField("boolean", "hasOtherLogin", "true")
  18. buildConfigField("boolean", "huawei", "false")
  19. buildConfigField("int", "IM_APPID", "1400311760")
  20. buildConfigField("String", "VIDEO_APPID", "\"00e4c2fbe58d4447b38ed73bd84dadf6\"")
  21. buildConfigField("String", "api", "\"https://api.paqukeji.com\"")
  22. buildConfigField("String", "api_xike", "\"https://api.mfxike.com\"")
  23. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.app.fileprovider\"")
  24. buildConfigField("String", "HTML_USER", "\"http://doc.starbuds.laylib.com/user.html\"")
  25. buildConfigField("String", "HTML_PRIVACY", "\"http://doc.starbuds.laylib.com/privacy.html\"")
  26. buildConfigField("String", "HTML_CANCELLATION", "\"http://doc.paqukeji.com/cancellation.html\"")
  27. buildConfigField("String", "HTML_SECURITY", "\"http://valid.m.paqukeji.com\"")
  28. manifestPlaceholders = [
  29. channel_id : "0",
  30. app_Id : "com.starbuds.app",
  31. app_name : "星芽",
  32. qq_app_id : "101834531",
  33. map_api_key : "0029f7c29ca3b079f895cfc0586a2d63",
  34. ali_app_key : "28329096",
  35. ali_app_secret: "f183f685600e544f0e517d9dcb057bd5",
  36. huawei_app_id : "",
  37. huawei_cp_id : "",
  38. vivo_api_key : "",
  39. vivo_api_id : ""
  40. ]
  41. ndk {
  42. abiFilters 'armeabi-v7a'/*, 'arm64-v8a'*/
  43. }
  44. }
  45. dexOptions {
  46. javaMaxHeapSize "4g"
  47. }
  48. greendao {
  49. schemaVersion 16
  50. daoPackage 'com.starbuds.app.entity.db'
  51. targetGenDir 'src/main/java'
  52. }
  53. signingConfigs {
  54. release {
  55. storeFile file('../boluojie.keystore')
  56. storePassword "boluojie.china.com"
  57. keyAlias "boluojie"
  58. keyPassword "boluojie.china.com"
  59. v1SigningEnabled true
  60. v2SigningEnabled true
  61. }
  62. yueyue {
  63. storeFile file("../yueyue.keystore")
  64. storePassword "yueyue.china.com"
  65. keyAlias "yueyue"
  66. keyPassword "yueyue.china.com"
  67. v1SigningEnabled true
  68. v2SigningEnabled true
  69. }
  70. }
  71. buildTypes {
  72. debug {
  73. debuggable true
  74. minifyEnabled false
  75. shrinkResources false
  76. zipAlignEnabled true
  77. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  78. // buildConfigField("int", "IM_APPID", "1400295920")
  79. // buildConfigField("String", "VIDEO_APPID", "\"c252200fcc8c4d45971b4f0dec393574\"")
  80. // buildConfigField("String", "api", "\"http://api.starbuds.laylib.com\"")
  81. // buildConfigField("String", "api_xike", "\"http://xkapi.laylib.com\"")
  82. // buildConfigField("String", "HTML_SECURITY", "\"http://security.h5.starbuds.laylib.com\"")
  83. manifestPlaceholders = [channel_id: "3"]
  84. signingConfig signingConfigs.release
  85. }
  86. release {
  87. minifyEnabled false
  88. shrinkResources false
  89. zipAlignEnabled true
  90. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  91. }
  92. }
  93. flavorDimensions "xingya"
  94. //多渠道打包配置
  95. productFlavors {
  96. //渠道包
  97. xingya {// 星芽
  98. dimension "xingya"
  99. signingConfig signingConfigs.release
  100. manifestPlaceholders = [channel_id: "3"]
  101. }
  102. boluojie {// 菠萝街直播
  103. dimension "xingya"
  104. applicationId "com.shejiao.boluojie"
  105. versionName "4.0.7"
  106. signingConfig signingConfigs.release
  107. buildConfigField("boolean", "hasOtherLogin", "false")
  108. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.shejiao.boluojie.fileprovider\"")
  109. manifestPlaceholders = [
  110. channel_id : "3",
  111. app_Id : "com.shejiao.boluojie",
  112. app_name : "菠萝街直播",
  113. qq_app_id : "101582876",
  114. map_api_key : "14a9b5a89146b958ea7d6d4c2b6db5e5",
  115. ali_app_key : "",
  116. ali_app_secret: "",
  117. huawei_app_id : "appid=10273701",
  118. huawei_cp_id : "cpid=900086000025952978",
  119. vivo_api_key : "",
  120. vivo_api_id : ""
  121. ]
  122. }
  123. yueyue {// 菠萝街直播华为联运
  124. dimension "xingya"
  125. applicationId "com.shejiao.yueyue"
  126. versionName "4.0.7"
  127. signingConfig signingConfigs.yueyue
  128. buildConfigField("boolean", "hasOtherLogin", "false")
  129. buildConfigField("boolean", "huawei", "true")
  130. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.shejiao.yueyue.fileprovider\"")
  131. manifestPlaceholders = [
  132. channel_id : "72316662841344",
  133. app_Id : "com.shejiao.yueyue",
  134. app_name : "菠萝街直播",
  135. qq_app_id : "101582876",
  136. map_api_key : "d8471219e587de5682a4133d905945b5",
  137. ali_app_key : "",
  138. ali_app_secret: "",
  139. huawei_app_id : "appid=10273701",
  140. huawei_cp_id : "cpid=900086000025952978",
  141. vivo_api_key : "",
  142. vivo_api_id : ""
  143. ]
  144. }
  145. zhima {// 芝麻直播
  146. dimension "xingya"
  147. applicationId "com.starbuds.zhima"
  148. signingConfig signingConfigs.release
  149. buildConfigField("boolean", "hasOtherLogin", "false")
  150. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.zhima.fileprovider\"")
  151. manifestPlaceholders = [
  152. channel_id : "78139153711104",
  153. app_Id : "com.starbuds.zhima",
  154. app_name : "芝麻乐",
  155. qq_app_id : "1109951628",
  156. map_api_key : "4699823adf6599b56a0dee489a2db942",
  157. ali_app_key : "",
  158. ali_app_secret: "",
  159. huawei_app_id : "",
  160. huawei_cp_id : "",
  161. vivo_api_key : "",
  162. vivo_api_id : ""
  163. ]
  164. }
  165. yaya {// YAYA
  166. dimension "xingya"
  167. applicationId "com.starbuds.yaya"
  168. signingConfig signingConfigs.release
  169. buildConfigField("boolean", "hasOtherLogin", "false")
  170. buildConfigField("String", "HTML_USER", "\"http://doc.paqukeji.com/user_yaya.html\"")
  171. buildConfigField("String", "HTML_PRIVACY", "\"http://doc.paqukeji.com/privacy_yaya.html\"")
  172. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.yaya.fileprovider\"")
  173. manifestPlaceholders = [
  174. app_Id : "com.starbuds.yaya",
  175. app_name : "YAYA",
  176. channel_id : "120970010427392",
  177. qq_app_id : "",
  178. map_api_key : "",
  179. ali_app_key : "",
  180. ali_app_secret: "",
  181. huawei_app_id : "",
  182. huawei_cp_id : "",
  183. vivo_api_key : "",
  184. vivo_api_id : ""
  185. ]
  186. }
  187. curryLive {// Curry Live
  188. dimension "xingya"
  189. applicationId "com.starbuds.curry"
  190. signingConfig signingConfigs.release
  191. buildConfigField("boolean", "hasOtherLogin", "false")
  192. buildConfigField("String", "HTML_USER", "\"http://doc.paqukeji.com/user_curry.html\"")
  193. buildConfigField("String", "HTML_PRIVACY", "\"http://doc.paqukeji.com/privacy_curry.html\"")
  194. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.curry.fileprovider\"")
  195. manifestPlaceholders = [
  196. app_Id : "com.starbuds.curry",
  197. app_name : "Curry Live",
  198. channel_id : "236824479924224",
  199. qq_app_id : "",
  200. map_api_key : "",
  201. ali_app_key : "",
  202. ali_app_secret: "",
  203. huawei_app_id : "",
  204. huawei_cp_id : "",
  205. vivo_api_key : "",
  206. vivo_api_id : ""
  207. ]
  208. }
  209. jiemo {// 芥末
  210. dimension "xingya"
  211. applicationId "com.starbuds.yiqi"
  212. signingConfig signingConfigs.release
  213. // buildConfigField("boolean", "hasOtherLogin", "false")
  214. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.yiqi.fileprovider\"")
  215. manifestPlaceholders = [
  216. app_Id : "com.starbuds.yiqi",
  217. app_name : "芥末语音",
  218. channel_id : "172520221179904",
  219. qq_app_id : "101896592",
  220. map_api_key : "0ee763dfe6b25d0379d7d9a1a18ba159",
  221. ali_app_key : "30838296",
  222. ali_app_secret: "5deef035653976cddd8e2d63bbdcf036",
  223. huawei_app_id : "",
  224. huawei_cp_id : "",
  225. vivo_api_key : "",
  226. vivo_api_id : ""
  227. ]
  228. }
  229. mayi {// 蚂蚁直播
  230. dimension "xingya"
  231. applicationId "com.starbuds.yiqi"
  232. signingConfig signingConfigs.release
  233. buildConfigField("boolean", "hasOtherLogin", "false")
  234. buildConfigField("String", "FILE_PROVIDER_NAME", "\"com.starbuds.yiqi.fileprovider\"")
  235. manifestPlaceholders = [
  236. app_Id : "com.starbuds.yiqi",
  237. app_name : "蚂蚁直播",
  238. channel_id : "187520310575114",
  239. qq_app_id : "101896592",
  240. map_api_key : "0ee763dfe6b25d0379d7d9a1a18ba159",
  241. ali_app_key : "30838296",
  242. ali_app_secret: "5deef035653976cddd8e2d63bbdcf036",
  243. huawei_app_id : "",
  244. huawei_cp_id : "",
  245. vivo_api_key : "",
  246. vivo_api_id : ""
  247. ]
  248. }
  249. meibo {// 美播视频
  250. dimension "xingya"
  251. signingConfig signingConfigs.release
  252. buildConfigField("boolean", "hasOtherLogin", "false")
  253. manifestPlaceholders = [
  254. app_name : "美播视频",
  255. channel_id: "154791879639056"
  256. ]
  257. }
  258. mifeng {// 蜜蜂直播
  259. dimension "xingya"
  260. signingConfig signingConfigs.release
  261. manifestPlaceholders = [
  262. app_name : "蜜蜂直播",
  263. channel_id: "227423484379136"
  264. ]
  265. }
  266. bale {// 芭乐视频
  267. dimension "xingya"
  268. versionName "4.0.7"
  269. signingConfig signingConfigs.release
  270. manifestPlaceholders = [
  271. channel_id: "123530582687744",
  272. app_name : "芭乐视频"
  273. ]
  274. }
  275. D2 {// D2天堂
  276. dimension "xingya"
  277. signingConfig signingConfigs.release
  278. manifestPlaceholders = [
  279. app_name : "D2天堂",
  280. channel_id: "118557740367882"
  281. ]
  282. }
  283. oppo {// OPPO
  284. dimension "xingya"
  285. signingConfig signingConfigs.release
  286. manifestPlaceholders = [
  287. app_name : "星芽直播",
  288. channel_id: "135240081211392"
  289. ]
  290. }
  291. tv91 {// 91直播
  292. dimension "xingya"
  293. signingConfig signingConfigs.release
  294. manifestPlaceholders = [
  295. app_name : "91直播",
  296. channel_id: "139639620894720"
  297. ]
  298. }
  299. boluo {// 菠萝视频
  300. dimension "xingya"
  301. signingConfig signingConfigs.release
  302. manifestPlaceholders = [
  303. app_name : "菠萝视频",
  304. channel_id: "139663872360448"
  305. ]
  306. }
  307. banana {// 大香蕉直播
  308. dimension "xingya"
  309. signingConfig signingConfigs.release
  310. manifestPlaceholders = [
  311. app_name : "大香蕉直播",
  312. channel_id: "139665231314944"
  313. ]
  314. }
  315. tomato {// 番茄直播
  316. dimension "xingya"
  317. signingConfig signingConfigs.release
  318. manifestPlaceholders = [
  319. app_name : "番茄直播",
  320. channel_id: "139666288279552"
  321. ]
  322. }
  323. mimose {// 含羞草直播
  324. dimension "xingya"
  325. signingConfig signingConfigs.release
  326. manifestPlaceholders = [
  327. app_name : "含羞草直播",
  328. channel_id: "139667454296064"
  329. ]
  330. }
  331. belle {// 美女视频
  332. dimension "xingya"
  333. signingConfig signingConfigs.release
  334. manifestPlaceholders = [
  335. app_name : "美女视频",
  336. channel_id: "139668402208768"
  337. ]
  338. }
  339. belleTv {// 美女直播
  340. dimension "xingya"
  341. signingConfig signingConfigs.release
  342. manifestPlaceholders = [
  343. app_name : "美女直播",
  344. channel_id: "139669148794880"
  345. ]
  346. }
  347. T1 {// T1乐园
  348. dimension "xingya"
  349. signingConfig signingConfigs.release
  350. manifestPlaceholders = [
  351. app_name : "T1乐园",
  352. channel_id: "139670096707585"
  353. ]
  354. }
  355. douyin {// 富二代抖音
  356. dimension "xingya"
  357. signingConfig signingConfigs.release
  358. manifestPlaceholders = [
  359. app_name : "富二代抖音",
  360. channel_id: "139671380164608"
  361. ]
  362. }
  363. winter {// 小棉袄直播
  364. dimension "xingya"
  365. signingConfig signingConfigs.release
  366. manifestPlaceholders = [
  367. app_name : "小棉袄直播",
  368. channel_id: "139672227414016"
  369. ]
  370. }
  371. lavender {// 薰衣草视频
  372. dimension "xingya"
  373. signingConfig signingConfigs.release
  374. manifestPlaceholders = [
  375. app_name : "薰衣草视频",
  376. channel_id: "139673326321664"
  377. ]
  378. }
  379. boluomi {// 菠萝蜜视频
  380. dimension "xingya"
  381. signingConfig signingConfigs.release
  382. manifestPlaceholders = [
  383. app_name : "菠萝蜜视频",
  384. channel_id: "145500145713152"
  385. ]
  386. }
  387. kaola {// 考拉直播
  388. dimension "xingya"
  389. signingConfig signingConfigs.release
  390. manifestPlaceholders = [
  391. app_name : "考拉直播",
  392. channel_id: "145500481257472"
  393. ]
  394. }
  395. liulian {// 榴莲视频
  396. dimension "xingya"
  397. signingConfig signingConfigs.release
  398. manifestPlaceholders = [
  399. app_name : "榴莲视频",
  400. channel_id: "145500867133440"
  401. ]
  402. }
  403. xiaocao {// 小草视频
  404. dimension "xingya"
  405. signingConfig signingConfigs.release
  406. manifestPlaceholders = [
  407. app_name : "小草视频",
  408. channel_id: "145501387227136"
  409. ]
  410. }
  411. xinfubao {// 辛服宝
  412. dimension "xingya"
  413. signingConfig signingConfigs.release
  414. manifestPlaceholders = [
  415. app_name : "辛服宝",
  416. channel_id: "145499617230848"
  417. ]
  418. }
  419. yingshidaquan {// 影视大全
  420. dimension "xingya"
  421. signingConfig signingConfigs.release
  422. manifestPlaceholders = [
  423. app_name : "影视大全",
  424. channel_id: "145503585042432"
  425. ]
  426. }
  427. youkubo {// 尤酷播
  428. dimension "xingya"
  429. signingConfig signingConfigs.release
  430. manifestPlaceholders = [
  431. app_name : "尤酷播",
  432. channel_id: "145503199166464"
  433. ]
  434. }
  435. yumi {// 玉米视频
  436. dimension "xingya"
  437. signingConfig signingConfigs.release
  438. manifestPlaceholders = [
  439. app_name : "玉米视频",
  440. channel_id: "145502838456320"
  441. ]
  442. }
  443. yueye {// 月夜影视
  444. dimension "xingya"
  445. signingConfig signingConfigs.release
  446. manifestPlaceholders = [
  447. app_name : "月夜影视",
  448. channel_id: "145502427414528"
  449. ]
  450. }
  451. avbobo {// avbobo
  452. dimension "xingya"
  453. signingConfig signingConfigs.release
  454. manifestPlaceholders = [
  455. app_name : "AVBOBO",
  456. channel_id: "145501974429696"
  457. ]
  458. }
  459. caomeiqing {// 草莓情直播
  460. dimension "xingya"
  461. signingConfig signingConfigs.release
  462. manifestPlaceholders = [
  463. app_name : "草莓情直播",
  464. channel_id: "146111549407232"
  465. ]
  466. }
  467. dongjing {// 东京视频
  468. dimension "xingya"
  469. signingConfig signingConfigs.release
  470. manifestPlaceholders = [
  471. app_name : "东京视频",
  472. channel_id: "146108529508352"
  473. ]
  474. }
  475. nuannuan {// 暖暖视频
  476. dimension "xingya"
  477. signingConfig signingConfigs.release
  478. manifestPlaceholders = [
  479. app_name : "暖暖视频",
  480. channel_id: "146109393534977"
  481. ]
  482. }
  483. wufu {// 五福凹凸视频
  484. dimension "xingya"
  485. signingConfig signingConfigs.release
  486. manifestPlaceholders = [
  487. app_name : "五福凹凸视频",
  488. channel_id: "146128041410560"
  489. ]
  490. }
  491. wuye {// 午夜大香蕉
  492. dimension "xingya"
  493. signingConfig signingConfigs.release
  494. manifestPlaceholders = [
  495. app_name : "午夜大香蕉",
  496. channel_id: "146112446988288"
  497. ]
  498. }
  499. xiaopingguo {// 小苹果
  500. dimension "xingya"
  501. signingConfig signingConfigs.release
  502. manifestPlaceholders = [
  503. app_name : "小苹果",
  504. channel_id: "146111222251520"
  505. ]
  506. }
  507. xiaov {// 小v影院
  508. dimension "xingya"
  509. signingConfig signingConfigs.release
  510. manifestPlaceholders = [
  511. app_name : "小v影院",
  512. channel_id: "146111960449024"
  513. ]
  514. }
  515. xinglian {// 星恋
  516. dimension "xingya"
  517. signingConfig signingConfigs.release
  518. manifestPlaceholders = [
  519. app_name : "星恋",
  520. channel_id: "146109049602048"
  521. ]
  522. }
  523. xingqu {// 杏趣直播
  524. dimension "xingya"
  525. signingConfig signingConfigs.release
  526. manifestPlaceholders = [
  527. app_name : "杏趣直播",
  528. channel_id: "146110794432512"
  529. ]
  530. }
  531. yiren {// 伊人大香蕉
  532. dimension "xingya"
  533. signingConfig signingConfigs.release
  534. manifestPlaceholders = [
  535. app_name : "伊人大香蕉",
  536. channel_id: "146110291116032"
  537. ]
  538. }
  539. yinghua {// 樱花直播
  540. dimension "xingya"
  541. signingConfig signingConfigs.release
  542. manifestPlaceholders = [
  543. app_name : "樱花直播",
  544. channel_id: "146109863297024"
  545. ]
  546. }
  547. tv58 {// 58直播
  548. dimension "xingya"
  549. signingConfig signingConfigs.release
  550. manifestPlaceholders = [
  551. app_name : "58直播",
  552. channel_id: "148415329599488"
  553. ]
  554. }
  555. re99 {// 99re
  556. dimension "xingya"
  557. signingConfig signingConfigs.release
  558. manifestPlaceholders = [
  559. app_name : "99re",
  560. channel_id: "146164833845248"
  561. ]
  562. }
  563. ni1024 {// 1024你懂的
  564. dimension "xingya"
  565. signingConfig signingConfigs.release
  566. manifestPlaceholders = [
  567. app_name : "1024你懂的",
  568. channel_id: "146165127446529"
  569. ]
  570. }
  571. tv1769 {// 1769视频
  572. dimension "xingya"
  573. signingConfig signingConfigs.release
  574. manifestPlaceholders = [
  575. app_name : "1769视频",
  576. channel_id: "146165043560448"
  577. ]
  578. }
  579. beiwo {// 被窝直播
  580. dimension "xingya"
  581. signingConfig signingConfigs.release
  582. manifestPlaceholders = [
  583. app_name : "被窝直播",
  584. channel_id: "146161629396992"
  585. ]
  586. }
  587. caomin {// 草民直播
  588. dimension "xingya"
  589. signingConfig signingConfigs.release
  590. manifestPlaceholders = [
  591. app_name : "草民直播",
  592. channel_id: "146164724793344"
  593. ]
  594. }
  595. chengren {// 成人影视
  596. dimension "xingya"
  597. signingConfig signingConfigs.release
  598. manifestPlaceholders = [
  599. app_name : "成人影视",
  600. channel_id: "146164657684480"
  601. ]
  602. }
  603. chengrenLive {// 成人直播
  604. dimension "xingya"
  605. signingConfig signingConfigs.release
  606. manifestPlaceholders = [
  607. app_name : "成人直播",
  608. channel_id: "146159431581696"
  609. ]
  610. }
  611. chunyi {// 春意影院
  612. dimension "xingya"
  613. signingConfig signingConfigs.release
  614. manifestPlaceholders = [
  615. app_name : "春意影院",
  616. channel_id: "146164590575617"
  617. ]
  618. }
  619. doumi {// 抖咪直播
  620. dimension "xingya"
  621. signingConfig signingConfigs.release
  622. manifestPlaceholders = [
  623. app_name : "抖咪直播",
  624. channel_id: "146164456357888"
  625. ]
  626. }
  627. qiukui {// 秋葵视频
  628. dimension "xingya"
  629. signingConfig signingConfigs.release
  630. manifestPlaceholders = [
  631. app_name : "秋葵视频",
  632. channel_id: "149724531261440"
  633. ]
  634. }
  635. douyinLive {// 抖阴直播
  636. dimension "xingya"
  637. signingConfig signingConfigs.release
  638. manifestPlaceholders = [
  639. app_name : "抖阴直播",
  640. channel_id: "146164380860416"
  641. ]
  642. }
  643. douyinAdult {// 抖音成人版
  644. dimension "xingya"
  645. signingConfig signingConfigs.release
  646. manifestPlaceholders = [
  647. app_name : "抖音成人版",
  648. channel_id: "146164305362944"
  649. ]
  650. }
  651. dounai {// 豆奶视频
  652. dimension "xingya"
  653. signingConfig signingConfigs.release
  654. manifestPlaceholders = [
  655. app_name : "豆奶视频",
  656. channel_id: "146164229865474"
  657. ]
  658. }
  659. hongmao {// 红猫视频
  660. dimension "xingya"
  661. signingConfig signingConfigs.release
  662. manifestPlaceholders = [
  663. app_name : "红猫视频",
  664. channel_id: "146163953041408"
  665. ]
  666. }
  667. huafang {// 花房直播
  668. dimension "xingya"
  669. signingConfig signingConfigs.release
  670. manifestPlaceholders = [
  671. app_name : "花房直播",
  672. channel_id: "146163877543936"
  673. ]
  674. }
  675. huanggua {// 黄瓜视频
  676. dimension "xingya"
  677. signingConfig signingConfigs.release
  678. manifestPlaceholders = [
  679. app_name : "黄瓜视频",
  680. channel_id: "146163802046464"
  681. ]
  682. }
  683. jiucao {// 九草视频
  684. dimension "xingya"
  685. signingConfig signingConfigs.release
  686. manifestPlaceholders = [
  687. app_name : "九草视频",
  688. channel_id: "146163726548992"
  689. ]
  690. }
  691. jiujiuBanana {// 久久大香蕉
  692. dimension "xingya"
  693. signingConfig signingConfigs.release
  694. manifestPlaceholders = [
  695. app_name : "久久大香蕉",
  696. channel_id: "146163558776832"
  697. ]
  698. }
  699. qingqingcao {// 久久青青草
  700. dimension "xingya"
  701. signingConfig signingConfigs.release
  702. manifestPlaceholders = [
  703. app_name : "久久青青草",
  704. channel_id: "146163483279360"
  705. ]
  706. }
  707. kuaihu {// 快狐直播
  708. dimension "xingya"
  709. signingConfig signingConfigs.release
  710. manifestPlaceholders = [
  711. app_name : "快狐直播",
  712. channel_id: "146163281952768"
  713. ]
  714. }
  715. kuaimao {// 快猫视频
  716. dimension "xingya"
  717. signingConfig signingConfigs.release
  718. manifestPlaceholders = [
  719. app_name : "快猫视频",
  720. channel_id: "146163105792000"
  721. ]
  722. }
  723. kuaishou {// 快手成年
  724. dimension "xingya"
  725. signingConfig signingConfigs.release
  726. manifestPlaceholders = [
  727. app_name : "快手成年",
  728. channel_id: "146163021905925"
  729. ]
  730. }
  731. langwo {// 狼窝影院
  732. dimension "xingya"
  733. signingConfig signingConfigs.release
  734. manifestPlaceholders = [
  735. app_name : "狼窝影院",
  736. channel_id: "146162946408448"
  737. ]
  738. }
  739. langchao {// 浪潮影院
  740. dimension "xingya"
  741. signingConfig signingConfigs.release
  742. manifestPlaceholders = [
  743. app_name : "浪潮影院",
  744. channel_id: "146162870910976"
  745. ]
  746. }
  747. laoshiji {// 老湿机
  748. dimension "xingya"
  749. signingConfig signingConfigs.release
  750. manifestPlaceholders = [
  751. app_name : "老湿机",
  752. channel_id: "146162787024896"
  753. ]
  754. }
  755. maomi {// 猫咪视频
  756. dimension "xingya"
  757. signingConfig signingConfigs.release
  758. manifestPlaceholders = [
  759. app_name : "猫咪视频",
  760. channel_id: "146162619252736"
  761. ]
  762. }
  763. menghu {// 猛虎视频
  764. dimension "xingya"
  765. signingConfig signingConfigs.release
  766. manifestPlaceholders = [
  767. app_name : "猛虎视频",
  768. channel_id: "146162543755264"
  769. ]
  770. }
  771. milaoshu {// 米老鼠直播
  772. dimension "xingya"
  773. signingConfig signingConfigs.release
  774. manifestPlaceholders = [
  775. app_name : "米老鼠直播",
  776. channel_id: "146162468257792"
  777. ]
  778. }
  779. mitao {// 蜜桃社区
  780. dimension "xingya"
  781. signingConfig signingConfigs.release
  782. manifestPlaceholders = [
  783. app_name : "蜜桃社区",
  784. channel_id: "146165286830080"
  785. ]
  786. }
  787. miying {// 蜜影社
  788. dimension "xingya"
  789. signingConfig signingConfigs.release
  790. manifestPlaceholders = [
  791. app_name : "蜜影社",
  792. channel_id: "146162308874240"
  793. ]
  794. }
  795. }
  796. android.applicationVariants.all { variant ->
  797. variant.outputs.all { output ->
  798. def outputFile = output.outputFile
  799. if (outputFile != null && outputFile.name.contains('release')) {
  800. //渠道名称
  801. def buildName = ""
  802. variant.productFlavors.each { product ->
  803. buildName = product.name
  804. }
  805. //获取每个打包产物
  806. variant.getPackageApplication().outputDirectory = new File("${project.getProjectDir()}/channel")
  807. outputFileName = "${buildName}-${variant.versionName}-${variant.versionCode}.apk"
  808. }
  809. }
  810. }
  811. sourceSets {
  812. [boluojie, yueyue, meibo, D2, yaya, zhima, bale, tv91, boluo, banana, tomato, mimose, belle, belleTv, T1,
  813. douyin, winter, lavender, boluomi, kaola, liulian, liulian, xiaocao, xinfubao, yingshidaquan, youkubo, yumi,
  814. yueye, avbobo, caomeiqing, dongjing, nuannuan, wufu, wuye, xiaopingguo, xiaov, xinglian, xingqu, yiren, yinghua,
  815. tv58, re99, ni1024, tv1769, beiwo, caomin, chengren, chengrenLive, chunyi, doumi, qiukui, douyinLive, douyinAdult,
  816. dounai, hongmao, huafang, huanggua, jiucao, jiujiuBanana, qingqingcao, kuaihu, kuaimao, kuaishou, langwo, langchao,
  817. laoshiji, maomi, menghu, milaoshu, mitao, miying, jiemo, mayi, mifeng, curryLive].each {
  818. sourceSets[it.name].res.srcDirs = ["src/channel/${it.name}/res"]
  819. sourceSets[it.name].assets.srcDirs = ["src/channel/${it.name}/assets"]
  820. }
  821. }
  822. lintOptions {
  823. abortOnError false
  824. }
  825. compileOptions {
  826. sourceCompatibility JavaVersion.VERSION_1_8
  827. targetCompatibility JavaVersion.VERSION_1_8
  828. }
  829. // splits {
  830. // abi {
  831. // enable true
  832. // reset()
  833. // include 'armeabi-v7a'
  834. // universalApk false
  835. // }
  836. // }
  837. }
  838. //allprojects {
  839. // repositories {
  840. // jcenter()
  841. // google()
  842. //
  843. // maven { url "http://maven.aliyun.com/nexus/content/repositories/releases/" }
  844. // flatDir {
  845. // dirs 'libs'
  846. // }
  847. // }
  848. //}
  849. dependencies {
  850. implementation fileTree(include: ['*.jar'], dir: 'libs')
  851. implementation fileTree(include: ['*.aar'], dir: 'libs')
  852. // implementation(name: 'shanyan_sdk_v2.3.0.1.aar', ext: 'aar')
  853. implementation project(':xlibrary')
  854. implementation project(':tuikit')
  855. implementation project(':recycler_adapter')
  856. implementation project(':easyPhotos')
  857. implementation project(':faceunity')
  858. // implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
  859. // implementation "com.android.support:cardview-v7:$rootProject.ext.supportLibraryVersion"
  860. // implementation "com.android.support:gridlayout-v7:$rootProject.ext.supportLibraryVersion"
  861. // implementation "com.android.support:design:$rootProject.ext.supportLibraryVersion"
  862. // implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  863. // implementation "com.github.bumptech.glide:glide:$rootProject.ext.glideVersion"
  864. // annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.glideVersion"
  865. implementation "com.jakewharton:butterknife:$rootProject.ext.butterknifeVersion"
  866. implementation "androidx.constraintlayout:constraintlayout:$rootProject.ext.androidxConstraintVersion"
  867. implementation "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion"
  868. implementation 'androidx.appcompat:appcompat:1.1.0'
  869. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  870. annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.ext.butterknifeVersion"
  871. implementation "org.greenrobot:greendao:$rootProject.ext.greendaoVersion"
  872. implementation("com.github.yuweiguocn:GreenDaoUpgradeHelper:v$rootProject.ext.greendaoHelperVersion") {
  873. exclude module: 'support-annotations'
  874. }
  875. // implementation "com.android.support.constraint:constraint-layout:$rootProject.ext.constraintLayoutVersion"
  876. implementation 'com.qiniu:qiniu-android-sdk:7.3.12'
  877. implementation 'com.hyman:flowlayout-lib:1.1.2'
  878. implementation 'androidx.multidex:multidex:2.0.0'
  879. implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
  880. implementation 'com.contrarywind:Android-PickerView:3.2.6'
  881. implementation 'me.jessyan:autosize:1.1.2'
  882. implementation 'cn.bingoogolapple:bga-qrcodecore:1.1.7@aar'
  883. implementation 'cn.bingoogolapple:bga-zxing:1.1.7@aar'
  884. implementation 'com.tencent.bugly:crashreport:3.0.0'
  885. implementation 'com.tencent.bugly:nativecrashreport:3.7.1'
  886. implementation 'com.bigkoo:convenientbanner:2.0.5'
  887. implementation 'com.shizhefei:MultiTypeView:1.0.1'
  888. implementation files('libs/SecurityLib.jar')
  889. implementation('com.github.Yellow5A5:ClearScreenHelper:1.0.2') {
  890. exclude group: 'com.android.support'
  891. }
  892. implementation 'cn.jzvd:jiaozivideoplayer:7.4.0'
  893. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
  894. implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
  895. // 微信
  896. implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.5.8'
  897. // 华为支付
  898. implementation 'com.huawei.android.hms:iap:2.6.3.306'
  899. // implementation 'com.huawei.android.hms:hwid::2.6.3.306'
  900. implementation 'com.huawei.android.hms:push:2.6.3.306'
  901. // QQ
  902. implementation files('libs/open_sdk_r08e585d_lite.jar')
  903. //七牛推流sdk
  904. implementation 'com.qiniu:happy-dns:0.2.7'
  905. implementation files('libs/pldroid-player-2.1.8.jar')
  906. // implementation files('libs/pldroid-rtc-streaming-2.0.3.jar')
  907. // implementation files('libs/qndroid-rtc-2.3.1.jar')
  908. implementation files('libs/qndroid-rtc-2.4.0.jar')
  909. // 图片压缩
  910. implementation 'top.zibin:Luban:1.1.8'
  911. // 图片裁剪
  912. implementation 'com.github.yalantis:ucrop:2.2.3'
  913. implementation 'com.github.yalantis:ucrop:2.2.3-native'
  914. // 高德定位
  915. implementation 'com.amap.api:location:4.8.0'
  916. implementation "com.github.bumptech.glide:glide:$rootProject.ext.glideVersion"
  917. implementation "com.github.bumptech.glide:okhttp3-integration:$rootProject.ext.glideVersion"
  918. implementation "com.github.bumptech.glide:annotations:$rootProject.ext.glideVersion"
  919. annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.glideVersion"
  920. // implementation 'jp.wasabeef:glide-transformations:4.1.0'
  921. implementation 'com.tencent.bugly:crashreport:3.1.0@aar'
  922. implementation 'com.tencent.bugly:nativecrashreport:3.7.1@aar'
  923. implementation 'com.airbnb.android:lottie:3.4.0'
  924. implementation 'com.github.yyued:SVGAPlayer-Android:2.5.3'
  925. implementation "com.github.jokar:multi-languages:0.0.8"
  926. // implementation 'jp.co.cyberagent.android:gpuimage:2.0.4'
  927. // implementation files('libs/bytedeffect.jar')
  928. testImplementation 'junit:junit:4.12'
  929. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  930. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  931. implementation files('libs/bytedeffect.jar')
  932. implementation project(path: ':video_capturer_and_renderer')
  933. implementation 'com.github.yujinzhao123:DoubleHeadedDragonBar:1.0.4'
  934. implementation 'com.hyman:flowlayout-lib:1.1.2'
  935. implementation 'com.github.cirno-poi:VerifyEditText:1.0.0'
  936. implementation 'com.aliyun.ams:alicloud-android-push:3.1.9.1'
  937. // implementation 'com.aliyun.ams:alicloud-android-third-push:3.1.0@aar'
  938. // implementation 'com.aliyun.ams:huawei-push:2.6.3.305'
  939. // implementation 'com.aliyun.ams:huawei-push-base:2.6.3.305'
  940. // implementation 'com.aliyun.ams:meizu-push:3.8.7.1'
  941. // implementation 'com.aliyun.ams:third_vivopush:2.9.0.1'
  942. implementation 'com.umeng.umsdk:common:9.1.0' // (必选)
  943. implementation 'com.umeng.umsdk:asms:1.1.3' // asms包依赖(必选)
  944. implementation 'com.umeng.umsdk:crash:0.0.4' // native crash包依赖(必选)
  945. // implementation 'com.umeng.umsdk:oaid_lenovo:1.0.0' // (可选)
  946. // implementation 'com.umeng.umsdk:oaid_mi:1.0.0' // (可选)
  947. // implementation 'com.umeng.umsdk:oaid_oppo:1.0.4' // (可选)
  948. // implementation 'com.umeng.umsdk:oaid_vivo:1.0.0.1' // (可选)
  949. }
  950. multiLanguages {
  951. enable = true
  952. }