This repository can be used as a template to create new GitHub repositories for Kotlin/Android libraries.
./gradlew spotlessApply
Make sure you update spotless.license.kt and LICENSE.md to reflect your own license and author info! Other settings for this plugin can be tweaked in spotless.gradle.
./gradlew dependencyUpdates
Settings can be tweaked for this plugin within versionsPlugin.gradle.
Just have to execute:
./gradlew bintrayUpload
But there are some pre-requisites:
- Update bintrayconfig.gradle to contain your own Bintray username and the new library's matching details.
- Add
bintray.user
andbintray.apikey
entries tolocal.properties
matching your own Bintray account. - With each release, update the version name and code in dependencies.gradle.
- 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.