https://github.com/hitherejoe/mvpboilerplate
An MVP Boilerplate to save me having to create the same project over from scratch every time! :)
https://github.com/hitherejoe/mvpboilerplate
Last synced: about 1 month ago
JSON representation
An MVP Boilerplate to save me having to create the same project over from scratch every time! :)
- Host: GitHub
- URL: https://github.com/hitherejoe/mvpboilerplate
- Owner: hitherejoe
- Created: 2016-07-04T18:56:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-04T19:23:06.000Z (almost 9 years ago)
- Last Synced: 2025-03-22T02:32:42.410Z (about 1 month ago)
- Language: Java
- Size: 1.58 MB
- Stars: 46
- Watchers: 6
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MvpBoilerplate
=======
![]()
An MVP Boilerplate to save me having to create the same project over from scratch every time! :)
This project uses:
- Support libraries: AppCompat, Design.
- [RxJava](https://github.com/ReactiveX/RxJava) and [RxAndroid](https://github.com/ReactiveX/RxAndroid)
- [Retrofit 2](http://square.github.io/retrofit/)
- [Dagger 2](http://google.github.io/dagger/)
- [Butterknife](https://github.com/JakeWharton/butterknife)
- [Timber](https://github.com/JakeWharton/timber)
- [Glide 3](https://github.com/bumptech/glide)
- [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/)
- [Checkstyle](http://checkstyle.sourceforge.net/), [PMD](https://pmd.github.io/) and [Findbugs](http://findbugs.sourceforge.net/) for code analysisRequirements
------------- [Android SDK](http://developer.android.com/sdk/index.html).
- Android [4.3 (API 18) ](http://developer.android.com/tools/revisions/platforms.html#4.3).
- Android SDK Tools
- Android SDK Build tools 23.0.2
- Android Support Repository
- Android Support librariesBuilding
--------To build, install and run a debug version, run this from the root of the project:
./gradlew app:assembleDebug
Testing
-------To run **unit** tests on your machine:
```
./gradlew test
```To run **instrumentation** tests on connected devices:
```
./gradlew connectedAndroidTest
```Code Analysis tools
-------------------The following code analysis tools are set up on this project:
* [PMD](https://pmd.github.io/)
```
./gradlew pmd
```* [Findbugs](http://findbugs.sourceforge.net/)
```
./gradlew findbugs
```* [Checkstyle](http://checkstyle.sourceforge.net/)
```
./gradlew checkstyle
```### The check task
To ensure that your code is valid and stable use check:
```
./gradlew check
```