Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sockeqwe/mosby
Browse files Browse the repository at this point in the history
  • Loading branch information
sockeqwe committed Jul 29, 2015
2 parents 67a2293 + 42cf9f2 commit 6047fd9
Showing 1 changed file with 1 addition and 59 deletions.
60 changes: 1 addition & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,7 @@
# Mosby
A Model-View-Presenter library for modern Android apps.

Read more about mosby in [my blog post](http://hannesdorfmann.com/android/mosby/)

# Dependency
Latest version: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.hannesdorfmann.mosby/core/badge.png)](https://maven-badges.herokuapp.com/maven-central/com.hannesdorfmann.mosby/core)

Pick the module(s) you want to use:
```groovy
dependencies {
compile 'com.hannesdorfmann.mosby:core:x.x.x'
compile 'com.hannesdorfmann.mosby:core-dagger1:x.x.x'
compile 'com.hannesdorfmann.mosby:mvp:x.x.x'
compile 'com.hannesdorfmann.mosby:mvp-dagger1:x.x.x'
compile 'com.hannesdorfmann.mosby:retrofit:x.x.x'
compile 'com.hannesdorfmann.mosby:rx:x.x.x'
compile 'com.hannesdorfmann.mosby:viewstate:x.x.x'
compile 'com.hannesdorfmann.mosby:viewstate-dagger1:x.x.x'
testCompile 'com.hannesdorfmann.mosby:testing:x.x.x'
}
```

where you have to replace x.x.x with the latest version.


This library uses annotation processing libraries.
You need to apply Hugo Visser's awesome [android-apt](https://bitbucket.org/hvisser/android-apt) gradle plugin to run annotation processing
and you have to include the following dependencies:

```groovy
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6'
}
}
allprojects {
repositories {
jcenter()
maven {
// For icepick
url 'https://clojars.org/repo/'
}
}
}
dependencies {
apt 'frankiesardo:icepick-processor:3.0.2'
apt 'com.hannesdorfmann.fragmentargs:processor:2.1.0'
// If you want to use dagger1
apt 'com.squareup.dagger:dagger-compiler:1.2.2'
}
```
Check the [project website](http://hannesdorfmann.com/mosby/) for more information.

# Sample APK
You can find the smaple apk files in the [release section](https://github.com/sockeqwe/mosby/releases)
Expand Down

0 comments on commit 6047fd9

Please sign in to comment.