GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - androidstarters/android-starter: [Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.

BranchesTags
Open more actions menu

Latest commit

 

History

143 Commits
143 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
aars
aars
 
 
app
app
 
 
config
config
 
 
gradle/wrapper
gradle/wrapper
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
circle.yml
circle.yml
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

AndroidMvpStarter Build Status

Backers on Open Collective Sponsors on Open Collective Android Arsenal Join the chat at https://gitter.im/android-starter/Lobby

An MVP Boilerplate to save me having to create the same project over from scratch every time! :)

This project uses:

  • RxJava2 and RxAndroid
  • Retrofit / OkHttp
  • Gson
  • Dagger 2
  • Butterknife
  • Google Play Services
  • Timber
  • Glide 3
  • Stetho
  • Espresso for UI tests
  • Robolectric for framework specific unit tests
  • Mockito
  • Checkstyle, PMD and Findbugs for code analysis

Create new project using yeoman generator-android-mvp-starter

npm install -g yo
npm install -g generator-android-mvp-starter
mkdir NewApp && cd $_
yo android-mvp-starter

Building

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
./gradlew pmd
  • Findbugs
./gradlew findbugs
  • Checkstyle
./gradlew checkstyle

The check task

To ensure that your code is valid and stable use check:

./gradlew check

Jacoco Reports

Generate Jacoco coverage reports for the Debug build. Only unit tests.

app:testDebugUnitTestCoverage

Generate Jacoco coverage reports for the Release build. Only unit tests.

app:testReleaseUnitTestCoverage

Generate Jacoco coverage reports for the Debug build. Both unit and espresso tests.

app:unitAndEspressoDebugTestCoverage

Generate Jacoco coverage reports for the Release build. Both unit and espresso tests.

app:unitAndEspressoReleaseTestCoverage

Created & Maintained By

Ravindra Kumar (@ravidsrk)

If you found this repo helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

MIT License

Copyright (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.

About

[Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.

git.io/v9UjE

Topics

androidarchitecturecheckstyleespressofindbugsmockitomvp-architecturepmdrobolectricrxjava

Resources

Readme

Contributing

Contributing
Activity
Custom properties

Stars

509 stars

Watchers

26 watching

Forks

65 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.