Skip to content

Instantly share code, notes, and snippets.

@cypressious
Created July 23, 2014 15:44
Show Gist options
  • Save cypressious/5ccfe84a31fd836fe125 to your computer and use it in GitHub Desktop.
Save cypressious/5ccfe84a31fd836fe125 to your computer and use it in GitHub Desktop.
Retrolambda build fail
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:2.1.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'retrolambda'
android {
compileSdkVersion 19
buildToolsVersion "20.0.0"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "com.cypressworks.retrolambdafailure"
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:+'
compile 'com.android.support:support-v4:19.1.0'
}
package com.cypressworks.retrolambdafailure;
import com.google.android.gms.maps.SupportMapFragment;
public class MarkerMapFragment extends SupportMapFragment {
Runnable r = () -> {
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment