{"id":18011369,"url":"https://github.com/joaquimley/jcenter-config","last_synced_at":"2025-03-26T15:32:51.640Z","repository":{"id":93731170,"uuid":"74885528","full_name":"JoaquimLey/jcenter-config","owner":"JoaquimLey","description":"Painlessly publish your library/project to jcenter() with these simple scripts.","archived":false,"fork":false,"pushed_at":"2017-10-16T13:16:45.000Z","size":12,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T02:03:11.680Z","etag":null,"topics":["gradle","jcenter","jitpack","library","maven","opensource","publish"],"latest_commit_sha":null,"homepage":"http://joaquimley.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoaquimLey.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-11-27T12:14:54.000Z","updated_at":"2021-09-26T15:55:39.000Z","dependencies_parsed_at":"2023-03-20T15:32:29.564Z","dependency_job_id":null,"html_url":"https://github.com/JoaquimLey/jcenter-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaquimLey%2Fjcenter-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaquimLey%2Fjcenter-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaquimLey%2Fjcenter-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaquimLey%2Fjcenter-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoaquimLey","download_url":"https://codeload.github.com/JoaquimLey/jcenter-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681594,"owners_count":20655227,"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":["gradle","jcenter","jitpack","library","maven","opensource","publish"],"created_at":"2024-10-30T03:09:49.945Z","updated_at":"2025-03-26T15:32:51.634Z","avatar_url":"https://github.com/JoaquimLey.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# jcenter-Config\n\n\nPainlessly publish your library/project to jcenter() with these simple scripts.\n\n### Read more on the blog post: \u003c WIP-Soon \u003e\n\n## How to use\n\n- Copy/Add configs from the `deploy.properties` file to your **local.properties** file of your project, and **change to your own** settings (this is a _config_ file) [COPY HERE](https://raw.githubusercontent.com/JoaquimLey/jcenter-config/master/deploy.properties). You can find some examples/hints in the comments, but it's pretty straightforward.\n\n- Add the following lines to your `.gitignore` to **prevent exposing sensitive data** to your repository\n\n\t\t# Local configuration file (sdk path, etc)\n\t\tlocal.properties\n\n- On your **project** (root) `build.gradle` add the following lines:\n\n\t\tbuildscript {\n\t\t    repositories {\n\t\t        jcenter()\n\t\t    }\n\t\t    dependencies {\n\t\t        classpath 'com.android.tools.build:gradle:2.2.2'\n\t\t        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'\n\t\t    }\n\t\t}\n\t\tplugins {\n\t\t    id \"com.jfrog.bintray\" version \"1.7\"\n\t\t}\n\t\tallprojects {\n\t\t    repositories {\n\t\t        jcenter()\n\t\t    }\n\t\t}\n\t\t\n- On your **library module's** `build.gradle` add the following **before** the `android{}` closure:\n\n\t\tapply plugin: 'com.android.library'\n\t\tapply plugin: 'com.github.dcendents.android-maven'\n\t\tapply plugin: 'com.jfrog.bintray'\n\t\t\n\t\tandroid {\n\t\t    compileSdkVersion 25\n\t\t    buildToolsVersion \"25.0.0\"\n\t\t    ...\n\t\t}\n\n- Finally **at the end** of the same library module `gradle.build` add:\n\n\t\tapply from: 'https://raw.githubusercontent.com/JoaquimLey/jcenter-config/master/deploy.gradle'\n\t\t\n\t\t\n### To publish run on your terminal\n\t./gradlew clean libraryModuleName:bintrayUpload\n\t\nClean is optional but recommended.\n\n## Contributing\nContributions are always welcome!\nFollow the \"fork-and-pull\" Git workflow.\n\n**Issues:**\nIt's encoraged to open a unreported issues.\n\n 1. **Fork** the repo on GitHub\n 2. **Clone** the project to your own machine\n 3. **Commit** changes to your own branch\n 4. **Merge** with current *development* branch\n 5. **Push** your work back up to your fork\n 7. Submit a **Pull request** your changes can be reviewed (please refere the issue if reported)\n\n**Prevent** code-style related changes (at least run Ctrl+⌥+O, ⌥+⌘+L) before commiting.\n\n##Questions\n\nI'm writing a blog post about this process, incldugin a step-by-step guide. In the meantimefor some reason still unable to publish you can or if you have any questions or always find me on [twitter](https://twitter.com/JoaquimLey).\n\nYou can also find the official example [here](https://github.com/itamarb/bintray-examples/blob/master/gradle-example/build.gradle).\n\n### License\n\n\tCopyright © 2016 Joaquim Ley\n\n\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\n\tUnless required by applicable law or agreed to in writing, software\n\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or \n\timplied.\n\tSee the License for the specific language governing permissions and\n\tlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaquimley%2Fjcenter-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaquimley%2Fjcenter-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaquimley%2Fjcenter-config/lists"}