{"id":13788986,"url":"https://github.com/xuexiangjys/XUtil","last_synced_at":"2025-05-12T03:31:08.874Z","repository":{"id":65620304,"uuid":"120204784","full_name":"xuexiangjys/XUtil","owner":"xuexiangjys","description":"一个方便实用的Android工具类库","archived":false,"fork":false,"pushed_at":"2023-12-15T17:25:06.000Z","size":1200,"stargazers_count":227,"open_issues_count":4,"forks_count":55,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-12T04:19:37.878Z","etag":null,"topics":["android","utils-library","x-library"],"latest_commit_sha":null,"homepage":"https://xuexiangjys.github.io/XUtil/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuexiangjys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-04T17:03:39.000Z","updated_at":"2024-11-11T01:33:48.000Z","dependencies_parsed_at":"2024-01-19T16:09:20.857Z","dependency_job_id":"d201ff53-08b0-4c06-9524-1e5daf18f9db","html_url":"https://github.com/xuexiangjys/XUtil","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuexiangjys%2FXUtil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuexiangjys%2FXUtil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuexiangjys%2FXUtil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuexiangjys%2FXUtil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuexiangjys","download_url":"https://codeload.github.com/xuexiangjys/XUtil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225117107,"owners_count":17423339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","utils-library","x-library"],"created_at":"2024-08-03T21:00:57.122Z","updated_at":"2024-11-18T02:32:10.282Z","avatar_url":"https://github.com/xuexiangjys.png","language":"Java","funding_links":[],"categories":["Android"],"sub_categories":[],"readme":"# XUtil\n\n[![](https://jitpack.io/v/xuexiangjys/XUtil.svg)](https://jitpack.io/#xuexiangjys/XUtil)\n[![api][apisvg]][api]\n[![I](https://img.shields.io/github/issues/xuexiangjys/XUtil.svg)](https://github.com/xuexiangjys/XUtil/issues)\n[![Star](https://img.shields.io/github/stars/xuexiangjys/XUtil.svg)](https://github.com/xuexiangjys/XUtil)\n\n一个方便实用的Android工具类库\n\n------------------------------------\n\n## 关于我\n\n| 公众号   | 掘金     |  知乎    |  CSDN   |   简书   |   思否  |   哔哩哔哩  |   今日头条\n|---------|---------|--------- |---------|---------|---------|---------|---------|\n| [我的Android开源之旅](https://ss.im5i.com/2021/06/14/6tqAU.png)  |  [点我](https://juejin.im/user/598feef55188257d592e56ed/posts)    |   [点我](https://www.zhihu.com/people/xuexiangjys/posts)       |   [点我](https://xuexiangjys.blog.csdn.net/)  |   [点我](https://www.jianshu.com/u/6bf605575337)  |   [点我](https://segmentfault.com/u/xuexiangjys)  |   [点我](https://space.bilibili.com/483850585)  |   [点我](https://img.rruu.net/image/5ff34ff7b02dd)\n\n## 特点\n\n* 收录了Android开发过程中常用的工具类，并进行简单的分类，易于查询使用。\n\n* 工具类被分为xutil-core和xutil-sub两个，防止xutil工具类过于臃肿。\n\n* 收录了常用的[代码混淆配置](./xutil-core/base-proguard-rules.pro)。\n\n* 收录了常用的Android Gradle脚本：[bintrayUpload.gradle](./bintrayUpload.gradle)、[JitPackUpload.gradle](./JitPackUpload.gradle)、[localRepositoryUpload.gradle](./localRepositoryUpload.gradle)、[versions.gradle](./versions.gradle)。\n\n\n## 如何使用\n\n### 添加Gradle依赖\n\n1.先在项目根目录的 build.gradle 的 repositories 添加:\n\n```\nallprojects {\n    repositories {\n        ...\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n\n2.然后在应用项目(一般是app)的 `build.gradle` 的 dependencies 添加:\n\n以下是版本说明，选择一个即可。\n\n* androidx版本：2.0.0及以上\n\n\n```\n//基础功能的工具类\nimplementation 'com.github.xuexiangjys.XUtil:xutil-core:2.0.0'\n//附加功能的工具类\nimplementation 'com.github.xuexiangjys.XUtil:xutil-sub:2.0.0'\n```\n\n* support版本：1.1.8及以下\n\n```\n//基础功能的工具类\nimplementation 'com.github.xuexiangjys.XUtil:xutil-core:1.1.8'\n//附加功能的工具类\nimplementation 'com.github.xuexiangjys.XUtil:xutil-sub:1.1.8'\n```\n\n------------------------------------\n\n## 文档\n\n### 基础工具类内容(xutil-core)\n\n[点击查看](./xutil-core/README.md)\n\n### 附加工具类内容(xutil-sub)\n\n[点击查看](./xutil-sub/README.md)\n\n### 如何使用Gradle脚本进行代码上传\n\n[点击查看](./README_UPLOAD.md)\n\n## 特别感谢\n\nhttps://github.com/Blankj/AndroidUtilCode\n\n## 公众号\n\n\u003e 更多资讯内容，欢迎扫描关注我的个人微信公众号:【我的Android开源之旅】\n\n![gzh_weixin.jpg](https://img.rruu.net/image/5f871cfff3194)\n\n[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg\n[api]: https://android-arsenal.com/api?level=14\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuexiangjys%2FXUtil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuexiangjys%2FXUtil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuexiangjys%2FXUtil/lists"}