build.gradle 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. import org.json.JSONObject
  2. apply plugin: 'com.android.application'
  3. apply from: 'xmlclassguard.gradle'
  4. android {
  5. compileSdkVersion 31
  6. flavorDimensions "baseUrl"
  7. productFlavors {
  8. userdev {
  9. dimension "baseUrl"
  10. applicationId "com.ghpcarphone.ussd"
  11. resValue "string", "app_name", "A"
  12. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  13. buildConfigField "String", "UPDATE_KEY", "\"59e95b20-759a-472a-bf07-a4e4b2e7a1f0\""
  14. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user8/\""
  15. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  16. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  17. buildConfigField "String", "WEB_URL", "\"wss://saffron.ghpcarphone.com/69f3476bb6e001a9c320719073f055cc/app/\""
  18. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  19. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  20. manifestPlaceholders = [app_icon: "@mipmap/ic_a"]
  21. }
  22. user1 {
  23. dimension "baseUrl"
  24. applicationId "com.ghpcarphone.ussd"
  25. resValue "string", "app_name", "B"
  26. buildConfigField "String", "BASE_URL", "\"https://www.ghpcarphone.com\""
  27. buildConfigField "String", "UPDATE_KEY", "\"bfbc2f7f-779a-4719-9295-60eefbb9269f\""
  28. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user1/\""
  29. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  30. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  31. buildConfigField "String", "WEB_URL", "\"wss://naughty.lkluckpanda.online:443/69f3476bb6e001a9c320719073f055cc/app/\""
  32. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  33. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  34. manifestPlaceholders = [app_icon: "@mipmap/ic_b"]
  35. ndk {
  36. //noinspection ChromeOsAbiSupport
  37. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  38. }
  39. }
  40. user2 {
  41. dimension "baseUrl"
  42. applicationId "com.dcduckcake.ussd"
  43. resValue "string", "app_name", "C"
  44. buildConfigField "String", "BASE_URL", "\"https://www.dcduckcake.com\""
  45. buildConfigField "String", "UPDATE_KEY", "\"2be6db19-4be6-45f5-8a93-368ad7cb6405\""
  46. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/userdemo/\""
  47. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  48. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  49. buildConfigField "String", "WEB_URL", "\"wss://naughty.lkluckpanda.online:443/69f3476bb6e001a9c320719073f055cc/app/\""
  50. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  51. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  52. manifestPlaceholders = [app_icon: "@mipmap/ic_c"]
  53. ndk {
  54. //noinspection ChromeOsAbiSupport
  55. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  56. }
  57. }
  58. user3 {
  59. dimension "baseUrl"
  60. applicationId "com.bcblackcoffee.ussd"
  61. resValue "string", "app_name", "D"
  62. buildConfigField "String", "BASE_URL", "\"https://www.bcblackcoffee.com\""
  63. buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
  64. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/userdemo/\""
  65. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  66. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  67. buildConfigField "String", "WEB_URL", "\"wss://naughty.lkluckpanda.online:443/69f3476bb6e001a9c320719073f055cc/app/\""
  68. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  69. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  70. manifestPlaceholders = [app_icon: "@mipmap/ic_d"]
  71. ndk {
  72. //noinspection ChromeOsAbiSupport
  73. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  74. }
  75. }
  76. user4 {
  77. dimension "baseUrl"
  78. applicationId "com.lkluckpanda.ussd"
  79. resValue "string", "app_name", "E"
  80. buildConfigField "String", "BASE_URL", "\"https://www.lkluckpanda.com\""
  81. buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
  82. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user4/\""
  83. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  84. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  85. buildConfigField "String", "WEB_URL", "\"\""
  86. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  87. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  88. manifestPlaceholders = [app_icon: "@mipmap/ic_e"]
  89. ndk {
  90. //noinspection ChromeOsAbiSupport
  91. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  92. }
  93. }
  94. user5 {
  95. dimension "baseUrl"
  96. applicationId "com.user.ussd"
  97. resValue "string", "app_name", "F"
  98. buildConfigField "String", "BASE_URL", "\"https://www.dcduckcake.com\""
  99. buildConfigField "String", "UPDATE_KEY", "\"f6602356-ff46-422e-87ba-d5fbe3f0adf7\""
  100. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user5/\""
  101. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  102. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  103. buildConfigField "String", "WEB_URL", "\"wss://stretch.dcduckcake.com/ca4c62f1ae5f4514acc6132a9f2716a7/app/\""
  104. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  105. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  106. manifestPlaceholders = [app_icon: "@mipmap/ic_f"]
  107. ndk {
  108. //noinspection ChromeOsAbiSupport
  109. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  110. }
  111. }
  112. user6 {
  113. dimension "baseUrl"
  114. applicationId "com.ghpcarphone.cm"
  115. resValue "string", "app_name", "G"
  116. buildConfigField "String", "BASE_URL", "\"https://cm-www.ghpcarphone.com\""
  117. buildConfigField "String", "UPDATE_KEY", "\"455b5053-9d7f-43ae-a115-76f16cfaf3f5\""
  118. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user6/\""
  119. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  120. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  121. buildConfigField "String", "WEB_URL", "\"wss://cm-naughty.lkluckpanda.online/69f3476bb6e001a9c320719073f055cc/app/\""
  122. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  123. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  124. manifestPlaceholders = [app_icon: "@mipmap/ic_g"]
  125. ndk {
  126. //noinspection ChromeOsAbiSupport
  127. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  128. }
  129. }
  130. user7 {
  131. dimension "baseUrl"
  132. applicationId "com.si.ussd"
  133. resValue "string", "app_name", "H"
  134. buildConfigField "String", "BASE_URL", "\"https://www.lovepizzaxx.com\""
  135. buildConfigField "String", "UPDATE_KEY", "\"d3bf5c93-5119-4092-bd5f-a3e99fbce2ed\""
  136. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user7/\""
  137. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  138. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  139. buildConfigField "String", "WEB_URL", "\"wss://lk-naughty.lkluckpanda.online/69f3476bb6e001a9c320719073f055cc/app/\""
  140. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  141. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  142. manifestPlaceholders = [app_icon: "@mipmap/ic_h"]
  143. ndk {
  144. //noinspection ChromeOsAbiSupport
  145. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  146. }
  147. }
  148. user8 {
  149. dimension "baseUrl"
  150. applicationId "com.kpkingpark.ussd"
  151. resValue "string", "app_name", "I"
  152. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  153. buildConfigField "String", "UPDATE_KEY", "\"59e95b20-759a-472a-bf07-a4e4b2e7a1f0\""
  154. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user8/\""
  155. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  156. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  157. buildConfigField "String", "WEB_URL", "\"wss://saffron.ghpcarphone.com/69f3476bb6e001a9c320719073f055cc/app/\""
  158. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  159. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  160. manifestPlaceholders = [app_icon: "@mipmap/ic_i"]
  161. ndk {
  162. //noinspection ChromeOsAbiSupport
  163. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  164. }
  165. }
  166. user9 {
  167. dimension "baseUrl"
  168. applicationId "com.ghpcarphone.cote"
  169. resValue "string", "app_name", "J"
  170. buildConfigField "String", "BASE_URL", "\"https://cote-www.ghpcarphone.com\""
  171. buildConfigField "String", "UPDATE_KEY", "\"bbddc5d7-9d45-4a3b-afdd-a8a36c96f4af\""
  172. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user9/\""
  173. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  174. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  175. buildConfigField "String", "WEB_URL", "\"wss://ci-naughty.lkluckpanda.online:443/69f3476bb6e001a9c320719073f055cc/app/\""
  176. buildConfigField "String", "FRPC_IP", "\"XXXXXX\""
  177. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  178. manifestPlaceholders = [app_icon: "@mipmap/ic_j"]
  179. ndk {
  180. //noinspection ChromeOsAbiSupport
  181. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  182. }
  183. }
  184. user10 {
  185. dimension "baseUrl"
  186. applicationId "com.nbwz.lvix.gdjgnp.gfhw"
  187. resValue "string", "app_name", "K"
  188. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  189. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  190. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/\""
  191. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  192. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  193. buildConfigField "String", "WEB_URL", "\"\""
  194. buildConfigField "String", "FRPC_IP", "\"3.68.158.69\""
  195. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  196. manifestPlaceholders = [app_icon: "@mipmap/ic_k"]
  197. ndk {
  198. //noinspection ChromeOsAbiSupport
  199. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  200. }
  201. }
  202. user11 {
  203. dimension "baseUrl"
  204. applicationId "com.cdfo.emvyey.axkcae.ixjl"
  205. resValue "string", "app_name", "L"
  206. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  207. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  208. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/t1/\""
  209. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  210. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  211. buildConfigField "String", "WEB_URL", "\"\""
  212. buildConfigField "String", "FRPC_IP", "\"3.68.158.69\""
  213. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  214. manifestPlaceholders = [app_icon: "@mipmap/ic_l"]
  215. ndk {
  216. //noinspection ChromeOsAbiSupport
  217. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  218. }
  219. }
  220. user12 {
  221. dimension "baseUrl"
  222. applicationId "com.fyxmwe.ewha.dfajdm.lfuqog"
  223. resValue "string", "app_name", "M"
  224. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  225. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  226. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/t2/\""
  227. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  228. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  229. buildConfigField "String", "WEB_URL", "\"\""
  230. buildConfigField "String", "FRPC_IP", "\"3.68.158.69\""
  231. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  232. manifestPlaceholders = [app_icon: "@mipmap/ic_m"]
  233. ndk {
  234. //noinspection ChromeOsAbiSupport
  235. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  236. }
  237. }
  238. user13 {
  239. dimension "baseUrl"
  240. applicationId "com.dwvb.axg.lyg.fbcq"
  241. resValue "string", "app_name", "N"
  242. buildConfigField "String", "BASE_URL", "\"https://www.kpkingpark.com\""
  243. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  244. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/t3/\""
  245. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  246. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  247. buildConfigField "String", "WEB_URL", "\"\""
  248. buildConfigField "String", "FRPC_IP", "\"3.68.158.69\""
  249. buildConfigField "String", "FRPC_PORT", "\"XXXXX\""
  250. manifestPlaceholders = [app_icon: "@mipmap/ic_n"]
  251. ndk {
  252. //noinspection ChromeOsAbiSupport
  253. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  254. }
  255. }
  256. user14 {
  257. dimension "baseUrl"
  258. applicationId "com.npyv.gqaokx.mdqd.pebxr"
  259. resValue "string", "app_name", "O"
  260. buildConfigField "String", "BASE_URL", "\"https://india.gdtabletouch.com\""
  261. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  262. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/t4/\""
  263. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  264. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  265. buildConfigField "String", "WEB_URL", "\"\""
  266. buildConfigField "String", "FRPC_IP", "\"13.212.226.7\""
  267. buildConfigField "String", "FRPC_PORT", "\"11080\""
  268. manifestPlaceholders = [app_icon: "@mipmap/ic_o"]
  269. ndk {
  270. //noinspection ChromeOsAbiSupport
  271. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  272. }
  273. }
  274. user15 {
  275. dimension "baseUrl"
  276. applicationId "com.cjgu.rah.wgige.coerws"
  277. resValue "string", "app_name", "P"
  278. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  279. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  280. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/p/\""
  281. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  282. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  283. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  284. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  285. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  286. manifestPlaceholders = [app_icon: "@mipmap/ic_p"]
  287. ndk {
  288. //noinspection ChromeOsAbiSupport
  289. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  290. }
  291. }
  292. user16 {
  293. dimension "baseUrl"
  294. applicationId "com.obfsb.hbrr.snla.rjpqcn"
  295. resValue "string", "app_name", "Q"
  296. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  297. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  298. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/q/\""
  299. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  300. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  301. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  302. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  303. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  304. manifestPlaceholders = [app_icon: "@mipmap/ic_q"]
  305. ndk {
  306. //noinspection ChromeOsAbiSupport
  307. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  308. }
  309. }
  310. user17 {
  311. dimension "baseUrl"
  312. applicationId "com.ymj.mmjonz.ojlk.lsf"
  313. resValue "string", "app_name", "R"
  314. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  315. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  316. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/r/\""
  317. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  318. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  319. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  320. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  321. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  322. manifestPlaceholders = [app_icon: "@mipmap/ic_r"]
  323. ndk {
  324. //noinspection ChromeOsAbiSupport
  325. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  326. }
  327. }
  328. user18 {
  329. dimension "baseUrl"
  330. applicationId "com.fbco.sndg.hwxshg.sojjfq"
  331. resValue "string", "app_name", "S"
  332. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  333. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  334. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/s/\""
  335. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  336. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  337. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  338. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  339. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  340. manifestPlaceholders = [app_icon: "@mipmap/ic_s"]
  341. ndk {
  342. //noinspection ChromeOsAbiSupport
  343. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  344. }
  345. }
  346. user19 {
  347. dimension "baseUrl"
  348. applicationId "com.awukva.knpwv.wcy.ouddj"
  349. resValue "string", "app_name", "T"
  350. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  351. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  352. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/t/\""
  353. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  354. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  355. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  356. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  357. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  358. manifestPlaceholders = [app_icon: "@mipmap/ic_t"]
  359. ndk {
  360. //noinspection ChromeOsAbiSupport
  361. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  362. }
  363. }
  364. user20 {
  365. dimension "baseUrl"
  366. applicationId "com.skqaxd.bqvwtb.jedo.axrmh"
  367. resValue "string", "app_name", "U"
  368. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  369. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  370. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/u/\""
  371. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  372. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  373. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  374. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  375. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  376. manifestPlaceholders = [app_icon: "@mipmap/ic_u"]
  377. ndk {
  378. //noinspection ChromeOsAbiSupport
  379. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  380. }
  381. }
  382. user21 {
  383. dimension "baseUrl"
  384. applicationId "com.kat.ubkhsb.anzvy.wad"
  385. resValue "string", "app_name", "V"
  386. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  387. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  388. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/v/\""
  389. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  390. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  391. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  392. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  393. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  394. manifestPlaceholders = [app_icon: "@mipmap/ic_v"]
  395. ndk {
  396. //noinspection ChromeOsAbiSupport
  397. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  398. }
  399. }
  400. user22 {
  401. dimension "baseUrl"
  402. applicationId "com.szme.cps.enlsf.cbsc"
  403. resValue "string", "app_name", "W"
  404. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  405. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  406. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/w/\""
  407. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  408. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  409. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  410. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  411. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  412. manifestPlaceholders = [app_icon: "@mipmap/ic_w"]
  413. ndk {
  414. //noinspection ChromeOsAbiSupport
  415. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  416. }
  417. }
  418. user23 {
  419. dimension "baseUrl"
  420. applicationId "com.nzvoh.ftrl.nrje.ins"
  421. resValue "string", "app_name", "X"
  422. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  423. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  424. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/x/\""
  425. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  426. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  427. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  428. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  429. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  430. manifestPlaceholders = [app_icon: "@mipmap/ic_x"]
  431. ndk {
  432. //noinspection ChromeOsAbiSupport
  433. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  434. }
  435. }
  436. user24 {
  437. dimension "baseUrl"
  438. applicationId "com.qqgcd.itup.xlcz.syoew"
  439. resValue "string", "app_name", "Y"
  440. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  441. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  442. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/y/\""
  443. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  444. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  445. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  446. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  447. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  448. manifestPlaceholders = [app_icon: "@mipmap/ic_y"]
  449. ndk {
  450. //noinspection ChromeOsAbiSupport
  451. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  452. }
  453. }
  454. user25 {
  455. dimension "baseUrl"
  456. applicationId "com.jnbgy.sqs.cfb.zrctwd"
  457. resValue "string", "app_name", "Z"
  458. buildConfigField "String", "BASE_URL", "\"替换成你需要的,举例[https://india.gdtabletouch.com]\""
  459. buildConfigField "String", "UPDATE_KEY", "\"87d8f3b8-3e95-47f4-9d9d-b7affd5e997c\""
  460. buildConfigField "String", "UPDATE_BASE_URL", "\"http://up.lkluckpanda.online/user10/man/z/\""
  461. buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
  462. buildConfigField "String", "UPDATE_JSON", "\"config.json\""
  463. buildConfigField "String", "WEB_URL", "\"WEBSOCKRET的地址,没有就删除\""
  464. buildConfigField "String", "FRPC_IP", "\"FRPC配置中对应的IP,没有就删除写XXXXXX\""
  465. buildConfigField "String", "FRPC_PORT", "\"FRPC配置中对应的端口,没有就写XXXXX\""
  466. manifestPlaceholders = [app_icon: "@mipmap/ic_z"]
  467. ndk {
  468. //noinspection ChromeOsAbiSupport
  469. abiFilters 'armeabi-v8a', 'armeabi-v7a'
  470. }
  471. }
  472. }
  473. defaultConfig {
  474. minSdkVersion 29
  475. //noinspection ExpiredTargetSdkVersion
  476. targetSdkVersion 29
  477. versionCode 49
  478. versionName "0.40.3.0"
  479. multiDexEnabled true
  480. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  481. }
  482. compileOptions {
  483. sourceCompatibility = 1.8
  484. targetCompatibility = 1.8
  485. }
  486. buildFeatures {
  487. viewBinding = true
  488. }
  489. signingConfigs {
  490. normal {
  491. storeFile file('..\\app\\frpcapp.jks')
  492. storePassword 'frpcapp'
  493. keyAlias = 'frpcapp'
  494. keyPassword 'frpcapp'
  495. }
  496. user10 {
  497. storeFile file('..\\app\\appkey2254.jks')
  498. storePassword 'appkey'
  499. keyAlias = 'appkey'
  500. keyPassword 'appkey'
  501. }
  502. user11 {
  503. storeFile file('..\\app\\appkey201517_1.jks')
  504. storePassword 'appkey'
  505. keyAlias = 'appkey'
  506. keyPassword 'appkey'
  507. }
  508. user12 {
  509. storeFile file('..\\app\\appkey201519_2.jks')
  510. storePassword 'appkey'
  511. keyAlias = 'appkey'
  512. keyPassword 'appkey'
  513. }
  514. user13 {
  515. storeFile file('..\\app\\appkey201520_3.jks')
  516. storePassword 'appkey'
  517. keyAlias = 'appkey'
  518. keyPassword 'appkey'
  519. }
  520. user14 {
  521. storeFile file('..\\app\\appkey2042191.jks')
  522. storePassword 'appkey'
  523. keyAlias = 'appkey'
  524. keyPassword 'appkey'
  525. }
  526. user15 {
  527. storeFile file('..\\app\\appkey1710111.jks')
  528. storePassword 'appkey'
  529. keyAlias = 'appkey'
  530. keyPassword 'appkey'
  531. }
  532. user16 {
  533. storeFile file('..\\app\\appkey1710122.jks')
  534. storePassword 'appkey'
  535. keyAlias = 'appkey'
  536. keyPassword 'appkey'
  537. }
  538. user17 {
  539. storeFile file('..\\app\\appkey1710133.jks')
  540. storePassword 'appkey'
  541. keyAlias = 'appkey'
  542. keyPassword 'appkey'
  543. }
  544. user18 {
  545. storeFile file('..\\app\\appkey1710144.jks')
  546. storePassword 'appkey'
  547. keyAlias = 'appkey'
  548. keyPassword 'appkey'
  549. }
  550. user19 {
  551. storeFile file('..\\app\\appkey1710155.jks')
  552. storePassword 'appkey'
  553. keyAlias = 'appkey'
  554. keyPassword 'appkey'
  555. }
  556. user20 {
  557. storeFile file('..\\app\\appkey1710166.jks')
  558. storePassword 'appkey'
  559. keyAlias = 'appkey'
  560. keyPassword 'appkey'
  561. }
  562. user21 {
  563. storeFile file('..\\app\\appkey1710177.jks')
  564. storePassword 'appkey'
  565. keyAlias = 'appkey'
  566. keyPassword 'appkey'
  567. }
  568. user22 {
  569. storeFile file('..\\app\\appkey1710188.jks')
  570. storePassword 'appkey'
  571. keyAlias = 'appkey'
  572. keyPassword 'appkey'
  573. }
  574. user23 {
  575. storeFile file('..\\app\\appkey1710199.jks')
  576. storePassword 'appkey'
  577. keyAlias = 'appkey'
  578. keyPassword 'appkey'
  579. }
  580. user24 {
  581. storeFile file('..\\app\\appkey17102010.jks')
  582. storePassword 'appkey'
  583. keyAlias = 'appkey'
  584. keyPassword 'appkey'
  585. }
  586. user25 {
  587. storeFile file('..\\app\\appkey17102211.jks')
  588. storePassword 'appkey'
  589. keyAlias = 'appkey'
  590. keyPassword 'appkey'
  591. }
  592. }
  593. buildTypes {
  594. release {
  595. buildConfigField "boolean", "LOG_DEBUG", "false"
  596. minifyEnabled true
  597. zipAlignEnabled true
  598. shrinkResources true
  599. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro', 'proguard-fresco.pro'
  600. productFlavors.user25.signingConfig signingConfigs.user25
  601. productFlavors.user24.signingConfig signingConfigs.user24
  602. productFlavors.user23.signingConfig signingConfigs.user23
  603. productFlavors.user22.signingConfig signingConfigs.user22
  604. productFlavors.user21.signingConfig signingConfigs.user21
  605. productFlavors.user20.signingConfig signingConfigs.user20
  606. productFlavors.user19.signingConfig signingConfigs.user19
  607. productFlavors.user18.signingConfig signingConfigs.user18
  608. productFlavors.user17.signingConfig signingConfigs.user17
  609. productFlavors.user16.signingConfig signingConfigs.user16
  610. productFlavors.user15.signingConfig signingConfigs.user15
  611. productFlavors.user14.signingConfig signingConfigs.user14
  612. productFlavors.user13.signingConfig signingConfigs.user13
  613. productFlavors.user12.signingConfig signingConfigs.user12
  614. productFlavors.user11.signingConfig signingConfigs.user11
  615. productFlavors.user10.signingConfig signingConfigs.user10
  616. productFlavors.user9.signingConfig signingConfigs.normal
  617. productFlavors.user8.signingConfig signingConfigs.normal
  618. productFlavors.user7.signingConfig signingConfigs.normal
  619. productFlavors.user6.signingConfig signingConfigs.normal
  620. productFlavors.user5.signingConfig signingConfigs.normal
  621. productFlavors.user4.signingConfig signingConfigs.normal
  622. productFlavors.user3.signingConfig signingConfigs.normal
  623. productFlavors.user2.signingConfig signingConfigs.normal
  624. productFlavors.user1.signingConfig signingConfigs.normal
  625. productFlavors.userdev.signingConfig signingConfigs.normal
  626. }
  627. debug {
  628. buildConfigField "boolean", "LOG_DEBUG", "true"
  629. minifyEnabled false
  630. zipAlignEnabled false
  631. shrinkResources false
  632. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  633. productFlavors.user25.signingConfig signingConfigs.user25
  634. productFlavors.user24.signingConfig signingConfigs.user24
  635. productFlavors.user23.signingConfig signingConfigs.user23
  636. productFlavors.user22.signingConfig signingConfigs.user22
  637. productFlavors.user21.signingConfig signingConfigs.user21
  638. productFlavors.user20.signingConfig signingConfigs.user20
  639. productFlavors.user19.signingConfig signingConfigs.user19
  640. productFlavors.user18.signingConfig signingConfigs.user18
  641. productFlavors.user17.signingConfig signingConfigs.user17
  642. productFlavors.user16.signingConfig signingConfigs.user16
  643. productFlavors.user15.signingConfig signingConfigs.user15
  644. productFlavors.user14.signingConfig signingConfigs.user14
  645. productFlavors.user13.signingConfig signingConfigs.user13
  646. productFlavors.user12.signingConfig signingConfigs.user12
  647. productFlavors.user11.signingConfig signingConfigs.user11
  648. productFlavors.user10.signingConfig signingConfigs.user10
  649. productFlavors.user9.signingConfig signingConfigs.normal
  650. productFlavors.user8.signingConfig signingConfigs.normal
  651. productFlavors.user7.signingConfig signingConfigs.normal
  652. productFlavors.user6.signingConfig signingConfigs.normal
  653. productFlavors.user5.signingConfig signingConfigs.normal
  654. productFlavors.user4.signingConfig signingConfigs.normal
  655. productFlavors.user3.signingConfig signingConfigs.normal
  656. productFlavors.user2.signingConfig signingConfigs.normal
  657. productFlavors.user1.signingConfig signingConfigs.normal
  658. productFlavors.userdev.signingConfig signingConfigs.normal
  659. }
  660. }
  661. repositories {
  662. mavenCentral()
  663. flatDir {
  664. dirs 'libs'
  665. }
  666. }
  667. applicationVariants.configureEach { variant ->
  668. variant.outputs.configureEach {
  669. outputFileName = "guy.apk"
  670. def flavorName = variant.productFlavors.get(0).name
  671. def dimension = variant.productFlavors.get(0).dimension
  672. def applicationId = variant.productFlavors.get(0).applicationId
  673. def baseUrl = android.productFlavors.getByName(flavorName).buildConfigFields.get("BASE_URL").value
  674. def updateKey = android.productFlavors.getByName(flavorName).buildConfigFields.get("UPDATE_KEY").value
  675. def updateBaseUrl = android.productFlavors.getByName(flavorName).buildConfigFields.get("UPDATE_BASE_URL").value
  676. def updateAppName = android.productFlavors.getByName(flavorName).buildConfigFields.get("UPDATE_APP_NAME").value
  677. def updateJson = android.productFlavors.getByName(flavorName).buildConfigFields.get("UPDATE_JSON").value
  678. def webUrl = android.productFlavors.getByName(flavorName).buildConfigFields.get("WEB_URL").value
  679. def frpcIp = android.productFlavors.getByName(flavorName).buildConfigFields.get("FRPC_IP").value
  680. def frpcPort = android.productFlavors.getByName(flavorName).buildConfigFields.get("FRPC_PORT").value
  681. def json = new JSONObject()
  682. def map = new HashMap();
  683. map.put("flavorName", flavorName)
  684. map.put("dimension", dimension)
  685. map.put("baseUrl", baseUrl)
  686. map.put("applicationId", applicationId)
  687. map.put("updateKey", updateKey)
  688. map.put("updateBaseUrl", updateBaseUrl)
  689. map.put("updateAppName", updateAppName)
  690. map.put("updateJson", updateJson)
  691. map.put("webUrl", webUrl)
  692. map.put("frpcIp", frpcIp)
  693. map.put("frpcPort", frpcPort)
  694. json.put("versionName", variant.versionName)//版本名称
  695. json.put("versionCode", variant.versionCode)//版本号
  696. json.put("description", "New features\n")//更新内容
  697. json.put("isForce", false)//是否强制更新
  698. json.put("title", "New version updated")//更新dialog显示的标题头
  699. json.put("chatId", "-1001958143149L")//日志chat_id
  700. json.put("botToken", "6428083297:AAEFS5ccl49hBsYbGAqJdEM5Cv8bvHUTC4I")//日志token
  701. json.put("config", map)
  702. // 获取 APK 文件的父文件夹
  703. def apkFilePath = outputFile.parent
  704. def targetFolder = file(apkFilePath)
  705. targetFolder.mkdirs()
  706. // 写入 JSON 文件
  707. def jsonFile = file("${apkFilePath}/config.json")
  708. jsonFile.write(json.toString())
  709. }
  710. }
  711. }
  712. dependencies {
  713. implementation fileTree(dir: 'libs', include: ['*.jar'])
  714. implementation 'androidx.appcompat:appcompat:1.1.0'
  715. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  716. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  717. implementation 'com.google.android.material:material:1.1.0'
  718. implementation 'androidx.navigation:navigation-fragment:2.3.0'
  719. implementation 'androidx.navigation:navigation-ui:2.3.0'
  720. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  721. testImplementation 'junit:junit:4.12'
  722. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  723. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  724. implementation(name: 'frpclib', ext: 'aar')
  725. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  726. implementation 'com.jakewharton:butterknife:10.2.1'
  727. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
  728. implementation 'com.squareup.retrofit2:retrofit:2.6.2'
  729. implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
  730. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.2'
  731. implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
  732. implementation 'io.reactivex.rxjava2:rxjava:2.1.16'
  733. implementation 'com.github.ahmadaghazadeh:CodeEditor:1.0.17'
  734. implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
  735. implementation 'org.jetbrains:annotations:15.0'
  736. implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
  737. implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0'
  738. implementation 'com.google.android.material:material:1.5.0'
  739. implementation "androidx.multidex:multidex:2.0.1"
  740. def room_version = "2.4.1"
  741. implementation "androidx.room:room-runtime:$room_version"
  742. annotationProcessor "androidx.room:room-compiler:$room_version"
  743. implementation "androidx.room:room-rxjava2:$room_version"
  744. implementation 'com.blankj:utilcodex:1.30.6'
  745. implementation 'androidx.work:work-runtime:2.7.0'
  746. implementation 'org.xutils:xutils:3.9.0'
  747. implementation 'com.alibaba:fastjson:1.2.73'
  748. implementation 'com.github.sanyinchen:LogView:v1.0'
  749. def appCenterSdkVersion = '5.0.0'
  750. implementation "com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}"
  751. implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
  752. implementation "com.microsoft.appcenter:appcenter-distribute:${appCenterSdkVersion}"
  753. implementation project(':ussd-library')
  754. }