{"id":34610405,"url":"https://github.com/warting/perfect-android-library-template","last_synced_at":"2025-12-24T14:09:24.924Z","repository":{"id":36979691,"uuid":"414188238","full_name":"warting/Perfect-android-library-template","owner":"warting","description":"Sample android setup for deploying libraries on maven central","archived":false,"fork":false,"pushed_at":"2025-04-01T03:35:01.000Z","size":278,"stargazers_count":4,"open_issues_count":15,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T04:27:37.588Z","etag":null,"topics":["android","android-library","detekt","github-template","lint","maven-central","release-automation","release-management","template"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["warting"]}},"created_at":"2021-10-06T11:41:58.000Z","updated_at":"2025-04-01T03:34:00.000Z","dependencies_parsed_at":"2023-02-17T14:01:13.204Z","dependency_job_id":"4fb51b2f-a985-4c63-87b1-0cf0462586bd","html_url":"https://github.com/warting/Perfect-android-library-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/warting/Perfect-android-library-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warting%2FPerfect-android-library-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warting%2FPerfect-android-library-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warting%2FPerfect-android-library-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warting%2FPerfect-android-library-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warting","download_url":"https://codeload.github.com/warting/Perfect-android-library-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warting%2FPerfect-android-library-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28003726,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","android-library","detekt","github-template","lint","maven-central","release-automation","release-management","template"],"created_at":"2025-12-24T14:09:19.616Z","updated_at":"2025-12-24T14:09:24.919Z","avatar_url":"https://github.com/warting.png","language":"Kotlin","funding_links":["https://github.com/sponsors/warting"],"categories":[],"sub_categories":[],"readme":"\n# Perfect-android-library-template\n\nThis is how I prefer my android setup. This setup has a sample app and a deployable library that deploys to maven central once released. It uses detekt and lint and uses github actions to verify code in pull requests\n\nFeatures:\n* Detekt\n* Lint\n* Deploy to maven central\n* Verify PR (github actions)\n* Deployment using github releases\n* Auto versioning based on GIT tags\n* Issue templates\n* Funding\n* CI configurations (ci-gradle.properties)\n* Dependabot\n* PR templates\n* Release management\n* KTS gradle files\n\n## How to use this repo as a template\n1. Press \"use this template\" above or go to https://github.com/warting/Perfect-android-library-template/generate \n1. Make an awesome library\n1. Feel free to change from MIT License to whatever you want!\n1. Create a sonatype account (https://getstream.io/blog/publishing-libraries-to-mavencentral-2021/)\n1. Setup github secrets.\n   1. OSSRH_USERNAME\n   1. OSSRH_PASSWORD\n   1. SONATYPE_STAGING_PROFILE_ID\n   1. SIGNING_KEY_ID\n   1. SIGNING_PASSWORD\n   1. SIGNING_KEY\n1. Deploy your lib using github release functionality\n\n## Delete everything above this and change everything below\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/se.warting.perfect-android-library/template/badge.png)](https://maven-badges.herokuapp.com/maven-central/se.warting.se.warting.perfect-android-library/template)\n\n# Title of library\n\nDescribe your project here\n\n## How to include in your project\n\nThe library is available via MavenCentral:\n\n```\nallprojects {\n    repositories {\n        // ...\n        mavenCentral()\n    }\n}\n```\n\nAdd it to your module dependencies:\n\n```\ndependencies {\n    implementation(\"se.warting.perfect-android-library:template:\u003clatest_version\u003e\")\n}\n```\n\n## How to use\n\nAll you need to do is to call `SampleThingie`:\n\n```\n    SampleThingie()\n```\n\nFor a full implementation\nsee: [Full sample](app/src/main/java/se/warting/perfectandroidlibrarytemplate/MainActivity.kt)\n\n## Notes\n\nSome notes","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarting%2Fperfect-android-library-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarting%2Fperfect-android-library-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarting%2Fperfect-android-library-template/lists"}