forked from kaushikgopal/RxJava-Android-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
74 lines (66 loc) · 2.57 KB
/
build.gradle
File metadata and controls
74 lines (66 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
buildscript {
repositories {
// mavenCentral()
jcenter()
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
// can be removed with android-gradle plugin is upgraded to 2.2
// https://twitter.com/JakeWharton/status/760836175586267136
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
}
// Exclude the lombok version that the android plugin depends on.
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
ext {
okhttpVersion = "3.0.1"
retrofitVersion = "2.0.0"
sdkVersion = 24
supportLibVersion = "24.2.1"
}
dependencies {
compile "com.android.support:support-v13:${supportLibVersion}"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile "com.android.support:recyclerview-v7:${supportLibVersion}"
compile 'io.reactivex:rxandroid:1.2.0'
// Because RxAndroid releases are few and far between, it is recommended you also
// explicitly depend on RxJava's latest version for bug fixes and new features.
compile 'io.reactivex:rxjava:1.1.4'
compile 'io.reactivex:rxjava-math:1.0.0'
compile 'com.github.kaushikgopal:CoreTextUtils:c703fa12b6'
compile 'com.jakewharton.rxbinding:rxbinding:0.2.0'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.jakewharton.rxrelay:rxrelay:1.2.0'
compile 'com.jakewharton.timber:timber:2.4.2'
compile "com.squareup.retrofit2:retrofit:${retrofitVersion}"
compile "com.squareup.retrofit2:adapter-rxjava:${retrofitVersion}"
compile "com.squareup.retrofit2:converter-gson:${retrofitVersion}"
compile "com.squareup.okhttp3:okhttp:${okhttpVersion}"
compile "com.squareup.okhttp3:okhttp-urlconnection:${okhttpVersion}"
compile 'com.mcxiaoke.volley:library:1.0.19'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'
}
android {
compileSdkVersion sdkVersion
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "com.morihacky.android.rxjava"
minSdkVersion 15
targetSdkVersion sdkVersion
versionCode 2
versionName "1.2"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}