{"id":15478076,"url":"https://github.com/leftcoding/jcenter","last_synced_at":"2026-01-06T08:56:57.238Z","repository":{"id":118733791,"uuid":"201014918","full_name":"leftcoding/JCenter","owner":"leftcoding","description":"项目功能库，发布到 JCenter","archived":false,"fork":false,"pushed_at":"2019-08-12T06:37:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T03:05:28.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/leftcoding.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-07T09:11:10.000Z","updated_at":"2019-08-12T06:37:59.000Z","dependencies_parsed_at":"2023-03-22T06:02:46.167Z","dependency_job_id":null,"html_url":"https://github.com/leftcoding/JCenter","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"e5b33f2445f4ac0ffb1b1071b290897eaf6e8198"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftcoding%2FJCenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftcoding%2FJCenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftcoding%2FJCenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftcoding%2FJCenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leftcoding","download_url":"https://codeload.github.com/leftcoding/JCenter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246042013,"owners_count":20714147,"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":[],"created_at":"2024-10-02T04:01:57.466Z","updated_at":"2026-01-06T08:56:57.193Z","avatar_url":"https://github.com/leftcoding.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"### JCenter\n\n\u003e 把 module 库 ，发布到 Jcenter 上\n\n### 使用方法\n\n##### 1. 在根目录新建 `config.gradle`文件，添加内容\n\n```groovy\next {\n    plugins = [\n            maven      : 'com.github.dcendents.android-maven',\n            bintray    : 'com.jfrog.bintray'\n    ]\n\n    bintray = [\n            version       : \"1.0.1\", // 指定库的版本号\n            group         : \"android.left.permission\", // 库的group名，确定好之后不能修改\n\n            siteUrl       : 'https://github.com/leftcoding/LiPermission', // 项目开源地址\n            gitUrl        : 'https://github.com/leftcoding/LiPermission.git', // 项目git地址\n\n            packaging     : 'aar',\n            name          : 'annotation', // 项目名，随意\n            description   : '动态权限注解', // 项目描述，随意\n\n            licenseName   : 'The Apache Software License, Version 2.0', // 开源协议\n            licenseUrl    : 'http://www.apache.org/licenses/LICENSE-2.0.txt', // 开源协议地址\n\n            developerId   : 'left', // 开发者id\n            developerName : 'lingyan', // 开发者姓名\n            developerEmail: '137387869@qq.com', // 开发者邮箱\n\n            binrayLibrary : \"permission-annotation\", // 项目在bintray上的名称\n            bintrayRepo   : \"permission\", // 发布到自己在bintray的哪个仓库中，一般默认maven\n            bintrayUser   : 'left', // bintray的用户名\n            bintrayLicense: \"Apache-2.0\" // 指定bintray上的开源协议\n    ]\n}\n```\n\n##### 2. 在根目录`build.gradle` 文件中，添加内容\n\n```groovy\napply from: \"config.gradle\"\n```\n\n##### 3. 在根目录`local.properties`文件中，添加内容\n\n```groovy\nbintray.user=你的用户ID\nbintray.apikey=你的用户apikey\n```\n\n##### 4. 在`module`目录中，`build.gradle` 文件尾部，添加内容\n\n```groovy\napply from: 'https://raw.githubusercontent.com/leftcoding/JCenter/master/maven.gradle'\n```\n\n### 发布\n\n先清除编译\n\n```java\n./gradlew clean install\n// ./gradlew :moduleName:clean :moduleName:install\n```\n\n发布项目\n\n```java\n./gradlew bintrayUpload\n```\n\n最后到 [bintray](https://bintray.com/) , 同步到 JCenter\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftcoding%2Fjcenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleftcoding%2Fjcenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftcoding%2Fjcenter/lists"}