This repository can be used as a template to create new GitHub repositories for Kotlin/Android libraries.
./gradlew spotlessApplyMake 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 gradle/spotless_plugin_config.gradle.
./gradlew dependencyUpdatesSettings can be tweaked for this plugin within gradle/versions_plugin_config.gradle.
Just have to execute:
./gradlew clean build bintrayUploadBut there are some pre-requisites:
- Update gradle/android_bintray_config.gradle to contain your own Bintray username and new library's information, instead of mine.
- Add
bintray.userandbintray.apikeyentries tolocal.propertiesmatching 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.