mirror of https://github.com/moparisthebest/k-9
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
666 B
22 lines
666 B
buildscript { |
|
repositories { |
|
jcenter() |
|
} |
|
|
|
dependencies { |
|
classpath 'com.android.tools.build:gradle:1.2.3' |
|
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0' |
|
} |
|
} |
|
|
|
project.ext.preDexLibs = !project.hasProperty('disablePreDex') |
|
project.ext.testCoverage = project.hasProperty('testCoverage') |
|
|
|
subprojects { |
|
project.plugins.whenPluginAdded { plugin -> |
|
if ("com.android.build.gradle.AppPlugin".equals(plugin.class.name) || |
|
"com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) { |
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs |
|
} |
|
} |
|
}
|
|
|