forked from thunderbird/thunderbird-android
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
45 lines (37 loc) · 1022 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0'
classpath 'org.ajoberstar:gradle-git:1.1.0'
}
}
plugins {
id 'java'
}
plugins {
id "com.github.hierynomus.license" version "0.11.0"
}
license {
header rootProject.file('LICENSE.txt')
useDefaultMappings true
strictCheck true
}
project.ext.preDexLibs = !project.hasProperty('disablePreDex')
project.ext.testCoverage = project.hasProperty('testCoverage')
project(':k9mail') {
dependencies {
project(':smime-api')
}
}
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
}
}
}