Revert "disable predexing on travis"

This reverts commit ad063d00cc.
This commit is contained in:
Daniel Gultsch 2016-02-23 14:33:03 +01:00
parent ad063d00cc
commit 20eebe638b
2 changed files with 86 additions and 94 deletions

View File

@ -16,4 +16,4 @@ android:
licenses:
- '.+'
script:
- ./gradlew assembleFreeRelease -PdisablePreDex
- ./gradlew assembleFreeRelease

View File

@ -106,14 +106,6 @@ android {
}
}
project.plugins.whenPluginAdded { plugin ->
if ("com.android.build.gradle.AppPlugin".equals(plugin.class.name)) {
project.android.dexOptions.preDexLibraries = !project.hasProperty('disablePreDex')
} else if ("com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {
project.android.dexOptions.preDexLibraries = !project.hasProperty('disablePreDex')
}
}
}
packagingOptions {