I've updated from Gradle 0.8 to 0.9 but it gives me incompatibility problems. I've tried to fix it but I don't know exactly where the problem is.
A help is really appreciated.. this is my Gradle file :) thanks!
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion '19.0.1'
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
dependencies {
compile 'com.fasterxml.jackson.core:jackson-databind:2.2.+'
compile 'com.fasterxml.jackson.core:jackson-core:2.2.+'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.2.+'
compile 'commons-lang:commons-lang:2.6'
compile 'com.nhaarman.listviewanimations:library:2.5.2'
compile files('libs/TestFlightLib.jar')
compile 'com.android.support:support-v4:19.0.1'
}
android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
EDIT:
The error is something like:
Failed to refresh Gradle project 'gradle'
Unable to load class 'org.gradle.api.artifacts.result.ResolvedComponentResult'.
This is an unexpected error. Please file a bug containing the idea.log file.