Disable pre-dexing, causes exceptions on some systems

This commit is contained in:
Dominik Schürmann 2014-06-23 13:44:25 +02:00
parent 514a4c668b
commit e8b96d1035
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,6 @@ dependencies {
testCompile 'com.squareup:fest-android:1.0.8' testCompile 'com.squareup:fest-android:1.0.8'
testCompile 'com.google.android:android:4.1.1.4' testCompile 'com.google.android:android:4.1.1.4'
// compile dependencies are automatically also included in testCompile // compile dependencies are automatically also included in testCompile
} }
android { android {
@ -79,6 +78,11 @@ android {
htmlReport true htmlReport true
htmlOutput file("lint-report.html") htmlOutput file("lint-report.html")
} }
// Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems
dexOptions {
preDexLibraries = false
}
} }
// NOTE: This disables Lint! // NOTE: This disables Lint!

View File

@ -6,7 +6,7 @@ buildscript {
dependencies { dependencies {
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information // NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
classpath 'com.android.tools.build:gradle:0.11.1' classpath 'com.android.tools.build:gradle:0.11.1'
classpath 'org.robolectric:robolectric-gradle-plugin:0.11.0' classpath 'org.robolectric:robolectric-gradle-plugin:0.11.0'
} }
} }