mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 03:32:16 -05:00
Move 'mail' package to library project
This commit is contained in:
parent
6a24aca343
commit
105bca735b
41
k9mail-library/build.gradle
Normal file
41
k9mail-library/build.gradle
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile 'org.apache.james:apache-mime4j-core:0.7.2'
|
||||||
|
compile 'org.apache.james:apache-mime4j-dom:0.7.2'
|
||||||
|
compile 'commons-io:commons-io:2.0.1'
|
||||||
|
compile 'com.jcraft:jzlib:1.0.7'
|
||||||
|
compile 'com.beetstra.jutf7:jutf7:1.0.0'
|
||||||
|
}
|
||||||
|
|
||||||
|
android {
|
||||||
|
compileSdkVersion 21
|
||||||
|
buildToolsVersion '21.1.2'
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
minSdkVersion 15
|
||||||
|
targetSdkVersion 17
|
||||||
|
}
|
||||||
|
|
||||||
|
lintOptions {
|
||||||
|
abortOnError false
|
||||||
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
||||||
|
}
|
||||||
|
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_6
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_6
|
||||||
|
}
|
||||||
|
|
||||||
|
packagingOptions {
|
||||||
|
exclude 'META-INF/DEPENDENCIES'
|
||||||
|
exclude 'META-INF/LICENSE'
|
||||||
|
exclude 'META-INF/LICENSE.txt'
|
||||||
|
exclude 'META-INF/NOTICE'
|
||||||
|
exclude 'META-INF/NOTICE.txt'
|
||||||
|
}
|
||||||
|
}
|
2
k9mail-library/src/main/AndroidManifest.xml
Normal file
2
k9mail-library/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest package="com.fsck.k9.mail" />
|
@ -8,14 +8,11 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile project(':k9mail-library')
|
||||||
compile project(':plugins:Android-PullToRefresh:library')
|
compile project(':plugins:Android-PullToRefresh:library')
|
||||||
compile project(':plugins:HoloColorPicker')
|
compile project(':plugins:HoloColorPicker')
|
||||||
compile project(':plugins:openpgp-api-library')
|
compile project(':plugins:openpgp-api-library')
|
||||||
compile 'org.apache.james:apache-mime4j-core:0.7.2'
|
|
||||||
compile 'org.apache.james:apache-mime4j-dom:0.7.2'
|
|
||||||
compile 'commons-io:commons-io:2.0.1'
|
compile 'commons-io:commons-io:2.0.1'
|
||||||
compile 'com.jcraft:jzlib:1.0.7'
|
|
||||||
compile 'com.beetstra.jutf7:jutf7:1.0.0'
|
|
||||||
compile 'com.android.support:support-v4:21.0.2'
|
compile 'com.android.support:support-v4:21.0.2'
|
||||||
compile 'com.android.support:support-v13:21.0.2'
|
compile 'com.android.support:support-v13:21.0.2'
|
||||||
compile 'net.sourceforge.htmlcleaner:htmlcleaner:2.2'
|
compile 'net.sourceforge.htmlcleaner:htmlcleaner:2.2'
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
include ':k9mail'
|
include ':k9mail'
|
||||||
|
include ':k9mail-library'
|
||||||
include ':plugins:Android-PullToRefresh:library'
|
include ':plugins:Android-PullToRefresh:library'
|
||||||
include ':plugins:HoloColorPicker'
|
include ':plugins:HoloColorPicker'
|
||||||
include ':plugins:openpgp-api-library'
|
include ':plugins:openpgp-api-library'
|
||||||
|
Loading…
Reference in New Issue
Block a user