Error:java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
> org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://raw.github.com/xujiaao/mvn-repository/master/releases'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
classpath 'com.github.xujiaao:aarLinkSources:1.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://oss.sonatype.org/content/groups/public'
}
maven {
url 'https://raw.github.com/xujiaao/mvn-repository/master/releases'
}
}
}
apply plugin: 'com.android.application'
apply plugin: 'aar-link-sources'
android {
compileSdkVersion 21
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.xyz.testbed"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:21.+'
aarLinkSources 'com.android.support:support-v4:21.+:sources@jar'
}