{"id":18111527,"url":"https://github.com/gotev/android-base-library","last_synced_at":"2025-07-10T12:09:15.355Z","repository":{"id":98603906,"uuid":"71163024","full_name":"gotev/android-base-library","owner":"gotev","description":"Template project to create an Android library, which is ready to be published locally and on Maven Central.","archived":false,"fork":false,"pushed_at":"2021-07-12T06:07:57.000Z","size":210,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-05T04:39:56.553Z","etag":null,"topics":["android","artifact","bintray","kotlin","library","maven","template","test","testing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/gotev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"custom":["https://paypal.me/alexgt"]}},"created_at":"2016-10-17T17:19:47.000Z","updated_at":"2025-04-11T06:58:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf74a564-6289-40ca-ae3e-f253f47c1226","html_url":"https://github.com/gotev/android-base-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gotev/android-base-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotev%2Fandroid-base-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotev%2Fandroid-base-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotev%2Fandroid-base-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotev%2Fandroid-base-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotev","download_url":"https://codeload.github.com/gotev/android-base-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotev%2Fandroid-base-library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264578345,"owners_count":23631541,"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","artifact","bintray","kotlin","library","maven","template","test","testing"],"created_at":"2024-11-01T01:06:08.640Z","updated_at":"2025-07-10T12:09:15.342Z","avatar_url":"https://github.com/gotev.png","language":"Kotlin","funding_links":["https://paypal.me/alexgt"],"categories":[],"sub_categories":[],"readme":"# Android Base Library Template\nTemplate project to create an Android library, which is ready to be published locally and on Maven Central.\n\n## What's in this project template\n- Kotlin 1.4.32\n- KtLint\n- Android Testing setup for both unit and integration tests\n- Library project\n- Example app project which imports the library project\n- `manifest.gradle` which contains library metadata information and common dependencies between library project and demo app project.\n\n## Getting started\n* Fork this project \n* Clone it locally\n* Run `./rename` and enter the required information\n* Done! Open `example/build.gradle` from your Android Studio and start writing your next awesome library!\n\n### Maven Central\nFollow this guide: https://github.com/sky-uk/gradle-maven-plugin/#maven-central-publish\n\n## Release\nYou can release the library:\n- **locally**: `./release local`. This is going to create a `releases` directory which can be used as a Maven Repository.\n- **MavenCentral**: `./release`\n\n## Using the library\nOnce the library is published, you can use it like this:\n\n```groovy\nimplementation 'LIBRARY_PROJECT_GROUP:LIBRARY_NAME:1.0.0'\n```\n\n### Using your GitHub Repository as a Maven Repository\nPerform `./release local` and then push the `releases` directory. In your dependencies, add this to your repositories section:\n\n```groovy\nmaven {\n    content { includeGroup \"LIBRARY_PROJECT_GROUP\" }\n    credentials(HttpHeaderCredentials.class) {\n        name = \"Authorization\"\n        value = \"Bearer ${ System.getenv('GITHUB_TOKEN') }\"\n    }\n    authentication { register(\"header\", HttpHeaderAuthentication.class) }\n    url \"https://raw.githubusercontent.com/GITHUB_USER/GITHUB_REPOSITORY_NAME/master/releases\"\n}\n```\n\nYou need to add an environment variable in your `.bash_profile` for the github repo to work:\n\n```\nexport GITHUB_TOKEN=\"YOUR_TOKEN\"\n```\n\nAnd then `source .bash_profile`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotev%2Fandroid-base-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotev%2Fandroid-base-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotev%2Fandroid-base-library/lists"}