Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2
Sample android setup for deploying libraries on maven central
License
MIT, Unknown licenses found
Licenses found
warting/Perfect-android-library-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This 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
Features:
- Detekt
- Lint
- Deploy to maven central
- Verify PR (github actions)
- Deployment using github releases
- Auto versioning based on GIT tags
- Issue templates
- Funding
- CI configurations (ci-gradle.properties)
- Dependabot
- PR templates
- Release management
- KTS gradle files
- Press "use this template" above or go tohttps://github.com/warting/Perfect-android-library-template/generate
- Make an awesome library
- Feel free to change from MIT License to whatever you want!
- Create a sonatype account (https://getstream.io/blog/publishing-libraries-to-mavencentral-2021/)
- Setup github secrets.
- OSSRH_USERNAME
- OSSRH_PASSWORD
- SONATYPE_STAGING_PROFILE_ID
- SIGNING_KEY_ID
- SIGNING_PASSWORD
- SIGNING_KEY
- Deploy your lib using github release functionality
Describe your project here
The library is available via MavenCentral:
allprojects { repositories { // ... mavenCentral() }}
Add it to your module dependencies:
dependencies { implementation("se.warting.perfect-android-library:template:<latest_version>")}
All you need to do is to callSampleThingie
:
SampleThingie()
For a full implementationsee:Full sample
Some notes
About
Sample android setup for deploying libraries on maven central
Topics
Resources
License
MIT, Unknown licenses found
Licenses found
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.