Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 977 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 977 Bytes

Library Template

This repository can be used as a template to create new GitHub repositories for Kotlin/Android libraries.

Code Formatting

./gradlew spotlessApply

Check if Dependencies Are Up-to-Date

./gradlew dependencyUpdates

Publishing the Library to Bintray -> jCenter

Just have to execute:

./gradlew bintrayUpload

But there are some pre-requisites:

  1. Update bintrayconfig.gradle to contain your own Bintray username and the new library's matching details.
  2. Add bintray.user and bintray.apikey entries to local.properties matching your own Bintray account.
  3. With each release, update the version name and code in dependencies.gradle.
  4. Once you've deployed to Bintray for the first time, you can link your Bintray repository to jCenter so people can depend on your library from Android projects without having to add any special repositories.