Skip to content

Commit

Permalink
[artifact] Prepare version 1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
senneco committed Mar 9, 2017
1 parent 248456f commit 23133fa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,36 +76,36 @@ Base modules integration:
```groovy
dependencies {
...
compile 'com.arello-mobile:moxy:1.4.5'
provided 'com.arello-mobile:moxy-compiler:1.4.5'
compile 'com.arello-mobile:moxy:1.4.6'
provided 'com.arello-mobile:moxy-compiler:1.4.6'
}
```
If you want to see generated code, use `apt` instead of `provided` dependency type:
```groovy
dependencies {
...
apt 'com.arello-mobile:moxy-compiler:1.4.5'
apt 'com.arello-mobile:moxy-compiler:1.4.6'
}
```
Note: if you use gradle plugin verion 2.2.2 and above, so you can use `annotationProcessor` instead of `apt`:
```groovy
dependencies {
...
annotationProcessor 'com.arello-mobile:moxy-compiler:1.4.5'
annotationProcessor 'com.arello-mobile:moxy-compiler:1.4.6'
}
```
For additional base view classes `MvpActivity` and `MvpFragment` add this:
```groovy
dependencies {
...
compile 'com.arello-mobile:moxy-android:1.4.5'
compile 'com.arello-mobile:moxy-android:1.4.6'
}
```
If you are planing to use AppCompat, then you can use `MvpAppCompatActivity` and `MvpAppCompatFragment`. Then add this:
```groovy
dependencies {
...
compile 'com.arello-mobile:moxy-app-compat:1.4.5'
compile 'com.arello-mobile:moxy-app-compat:1.4.6'
compile 'com.android.support:appcompat-v7:$support_version'
}
```
Expand All @@ -114,7 +114,7 @@ If you are using kotlin, use `kapt` instead of `provided`/`apt` dependency type
```groovy
dependencies {
...
kapt 'com.arello-mobile:moxy-compiler:1.4.5'
kapt 'com.arello-mobile:moxy-compiler:1.4.6'
}
kapt {
generateStubs = true
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ allprojects {
}

ext {
targetVersionCode = 38
targetVersionName = "1.4.5"
targetVersionCode = 39
targetVersionName = "1.4.6"
}

task clean(type: Delete) {
Expand Down
6 changes: 3 additions & 3 deletions sample-github/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
testCompile "org.hamcrest:hamcrest-all:1.3"
testCompile "org.robolectric:robolectric:3.1-rc1"

compile 'com.arello-mobile:moxy:1.4.5'
compile 'com.arello-mobile:moxy-app-compat:1.4.5'
annotationProcessor 'com.arello-mobile:moxy-compiler:1.4.5'
compile 'com.arello-mobile:moxy:1.4.6'
compile 'com.arello-mobile:moxy-app-compat:1.4.6'
annotationProcessor 'com.arello-mobile:moxy-compiler:1.4.6'
}
6 changes: 3 additions & 3 deletions sample-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ android {
dependencies {
compile 'com.android.support:appcompat-v7:25.0.0'

compile 'com.arello-mobile:moxy:1.4.5'
compile 'com.arello-mobile:moxy-app-compat:1.4.5'
kapt 'com.arello-mobile:moxy-compiler:1.4.5'
compile 'com.arello-mobile:moxy:1.4.6'
compile 'com.arello-mobile:moxy-app-compat:1.4.6'
kapt 'com.arello-mobile:moxy-compiler:1.4.6'

compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

0 comments on commit 23133fa

Please sign in to comment.