Last active
October 15, 2015 04:59
-
-
Save kolipass/ebaa82476a89946e0505 to your computer and use it in GitHub Desktop.
> lombok/ast/Node : Unsupported major.minor version 52.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//it is app/build.gradle | |
apply plugin: 'com.android.application' | |
apply plugin: 'io.fabric' | |
apply plugin: 'me.tatarka.retrolambda' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.1" | |
defaultConfig { | |
applicationId "com.israelferrer.effectiveandroid" | |
minSdkVersion 19 | |
targetSdkVersion 23 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
debug { | |
} | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
} | |
retrolambda { | |
javaVersion JavaVersion.VERSION_1_6 | |
jvmArgs '-noverify' | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile 'com.android.support:appcompat-v7:23.0.1' | |
compile 'com.android.support:cardview-v7:23.0.1' | |
compile 'com.android.support:design:23.0.1' | |
compile 'com.android.support:recyclerview-v7:23.0.1' | |
compile 'com.jakewharton:butterknife:7.0.1' | |
compile 'com.squareup.picasso:picasso:2.5.2' | |
compile('com.twitter.sdk.android:twitter-core:1.5.0@aar') { | |
transitive = true; | |
} | |
testCompile 'junit:junit:4.12' | |
testCompile 'org.mockito:mockito-core:1.9.5' | |
testCompile 'org.robolectric:robolectric:3.0' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:1.3.1' | |
classpath 'io.fabric.tools:gradle:1.20.1' | |
classpath 'me.tatarka:gradle-retrolambda:3.2.3' | |
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2' | |
} | |
configurations.classpath.exclude group: 'com.android.tools.external.lombok' | |
} | |
allprojects { | |
repositories { | |
jcenter() | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution:
export JAVA_HOME=$JAVA8_HOME