Skip to content

Commit 7a29a74

Browse files
committed
Synced latest changes from parent repo
1 parent 128d45f commit 7a29a74

21 files changed

+8494
-51
lines changed

generators/app/templates/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# AndroidMvpStarter [![Build Status](https://travis-ci.org/ravidsrk/android-mvp-starter.svg?branch=master)](https://travis-ci.org/ravidsrk/android-mvp-starter)
22

3+
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android%20MVP%20Starter-blue.svg?style=flat)](https://android-arsenal.com/details/3/5232)
34
[![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)
45

56
An MVP Boilerplate to save me having to create the same project over from scratch every time! :)
7+
<p align="center">
8+
<img src="http://g.recordit.co/L5selg7aIv.gif" width="250">
9+
<img src="http://g.recordit.co/7JNqTQMwLS.gif">
10+
</p>
611

712
## This project uses:
813
- [RxJava2](https://github.com/ReactiveX/RxJava) and [RxAndroid](https://github.com/ReactiveX/RxAndroid)
@@ -19,6 +24,7 @@ An MVP Boilerplate to save me having to create the same project over from scratc
1924
- [Mockito](http://mockito.org/)
2025
- [Checkstyle](http://checkstyle.sourceforge.net/), [PMD](https://pmd.github.io/) and [Findbugs](http://findbugs.sourceforge.net/) for code analysis
2126

27+
2228
## Create new project using yeoman [generator-android-mvp-starter](https://github.com/ravidsrk/generator-android-mvp-starter)
2329
```bash
2430
npm install -g yo

generators/app/templates/app/build.gradle

+9-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ android {
1515
}
1616

1717
defaultConfig {
18+
defaultPublishConfig 'debug'
19+
publishNonDefault true
20+
1821
applicationId "<%= appPackage %>"
1922
minSdkVersion 18
2023
targetSdkVersion 25
@@ -113,7 +116,7 @@ dependencies {
113116
final RUNNER_VERSION = '0.5'
114117
final BUTTERKNIFE_VERSION = '8.5.1'
115118
final MOCKITO_VERSION = '2.6.8'
116-
final RESTMOCK_VERSION = '0.1.4'
119+
final RESTMOCK_VERSION = '0.2.0'
117120
final ROBOELECTRIC_VERSION = '3.2.2'
118121
final LEAKCANARY_VERSION = '1.5'
119122
final SQLBRITE_VERSION = '1.1.1'
@@ -207,4 +210,8 @@ dependencies {
207210
// Log out test results to console
208211
tasks.matching { it instanceof Test }.all {
209212
testLogging.events = ["failed", "passed", "skipped"]
210-
}
213+
}
214+
215+
tasks.withType(JavaCompile) {
216+
options.compilerArgs << "-Xlint:deprecation" << "-Werror"
217+
}

0 commit comments

Comments
 (0)