Skip to content

Commit 587f122

Browse files
author
Chris Bellew
committed
Added RxJava & RetroLambda.
1 parent 15fecc9 commit 587f122

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://downloads.gradle.org/distributions/gradle-2.10-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip

mobile/build.gradle

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
apply plugin: 'com.android.application'
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
6+
dependencies {
7+
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
8+
}
9+
}
210

311
repositories {
412
jcenter()
@@ -10,6 +18,9 @@ repositories {
1018
}
1119
}
1220

21+
apply plugin: 'com.android.application'
22+
apply plugin: 'me.tatarka.retrolambda'
23+
1324
configurations {
1425
compile.exclude group: 'stax'
1526
compile.exclude group: 'xpp3'
@@ -25,6 +36,13 @@ android {
2536
targetSdkVersion 19
2637
multiDexEnabled false
2738
}
39+
compileOptions {
40+
sourceCompatibility JavaVersion.VERSION_1_8
41+
targetCompatibility JavaVersion.VERSION_1_8
42+
}
43+
retrolambda {
44+
jdk "/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home"
45+
}
2846
dexOptions {
2947
preDexLibraries = false
3048
incremental false
@@ -129,4 +147,5 @@ dependencies {
129147
compile ('com.github.worker8:tourguide:1.0.17-SNAPSHOT@aar'){
130148
transitive=true
131149
}
150+
compile 'io.reactivex:rxjava:1.1.2'
132151
}

0 commit comments

Comments
 (0)