Skip to content

Commit 2efd2c4

Browse files
committed
Added retrolambda dependency through gradle plugin.
1 parent 8900761 commit 2efd2c4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

data/build.gradle

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath 'me.tatarka:gradle-retrolambda:3.1.0'
7+
}
8+
}
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
114
apply plugin: 'com.android.library'
215
apply plugin: 'com.neenbedankt.android-apt'
16+
apply plugin: 'me.tatarka.retrolambda'
317

418
android {
519
def globalConfiguration = rootProject.extensions.getByName("ext")
@@ -14,8 +28,8 @@ android {
1428
}
1529

1630
compileOptions {
17-
sourceCompatibility JavaVersion.VERSION_1_7
18-
targetCompatibility JavaVersion.VERSION_1_7
31+
sourceCompatibility JavaVersion.VERSION_1_8
32+
targetCompatibility JavaVersion.VERSION_1_8
1933
}
2034

2135
packagingOptions {

0 commit comments

Comments
 (0)