Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/androidstarters/kotlin-android-starter
[Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project.
https://github.com/androidstarters/kotlin-android-starter
android android-mvp-kotlin checkstyle espresso findbugs kotlin mockito mvp pmd robolectric rxjava
Last synced: about 18 hours ago
JSON representation
[Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project.
- Host: GitHub
- URL: https://github.com/androidstarters/kotlin-android-starter
- Owner: androidstarters
- Created: 2016-07-28T10:00:42.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2019-08-14T07:45:49.000Z (over 5 years ago)
- Last Synced: 2024-10-29T15:01:32.142Z (2 months ago)
- Topics: android, android-mvp-kotlin, checkstyle, espresso, findbugs, kotlin, mockito, mvp, pmd, robolectric, rxjava
- Language: Kotlin
- Homepage:
- Size: 1.91 MB
- Stars: 601
- Watchers: 22
- Forks: 94
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-kotlin - kotlin-android-starter - [Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project. (Libraries)
- awesome-kotlin-android - kotlin-android-starter - 快速生成的android项目模板,基于MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito🔥🔥🔥 (开源库 / 框架)
README
# Android Kotlin Mvp Starter [![Build Status](https://travis-ci.org/androidstarters/kotlin-android-starter.svg?branch=master)](https://travis-ci.org/androidstarters/kotlin-android-starter)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android%20MVP%20Starter-blue.svg?style=flat)](https://android-arsenal.com/details/3/5232)
[![Join the chat at https://gitter.im/android-mvp-starter/Lobby](https://badges.gitter.im/android-mvp-starter/Lobby.svg)](https://gitter.im/android-mvp-starter/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)An MVP Boilerplate to save me having to create the same project over from scratch every time! :)
## This project uses:
- [RxJava2](https://github.com/ReactiveX/RxJava) and [RxAndroid](https://github.com/ReactiveX/RxAndroid)
- [Retrofit](http://square.github.io/retrofit/) / [OkHttp](http://square.github.io/okhttp/)
- [Moshi](https://github.com/square/moshi)
- [Dagger 2](http://google.github.io/dagger/)
- [Butterknife](https://github.com/JakeWharton/butterknife)
- [Google Play Services](https://developers.google.com/android/guides/overview)
- [Timber](https://github.com/JakeWharton/timber)
- [Glide 3](https://github.com/bumptech/glide)
- [Stetho](http://facebook.github.io/stetho/)
- [Espresso](https://google.github.io/android-testing-support-library/) for UI tests
- [Robolectric](http://robolectric.org/) for framework specific unit tests
- [Mockito](http://mockito.org/)## Create new project using yeoman [generator-kotlin-android](https://github.com/androidstarters/generator-kotlin-android)
```bash
npm install -g yo
npm install -g generator-kotlin-android
mkdir NewApp && cd $_
yo kotlin-android
```## Building
To build, install and run a debug version, run this from the root of the project:
```sh
./gradlew app:assembleDebug
```
## TestingTo run **unit** tests on your machine:
```sh
./gradlew test
```To run **instrumentation** tests on connected devices:
```sh
./gradlew connectedAndroidTest
```## Code Analysis tools
The following code analysis tools are set up on this project:
* [PMD](https://pmd.github.io/)
```sh
./gradlew pmd
```* [Findbugs](http://findbugs.sourceforge.net/)
```sh
./gradlew findbugs
```* [Checkstyle](http://checkstyle.sourceforge.net/)
```sh
./gradlew checkstyle
```## The check task
To ensure that your code is valid and stable use check:
```sh
./gradlew check
```## License
```
MIT LicenseCopyright (c) 2017 Ravindra Kumar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```