Create :mail:protocols:pop3 Gradle module
This commit is contained in:
parent
6961295de4
commit
26d02ebb0d
21 changed files with 56 additions and 1 deletions
|
@ -67,7 +67,6 @@ import com.fsck.k9.mail.FetchProfile;
|
|||
import com.fsck.k9.mail.FetchProfile.Item;
|
||||
import com.fsck.k9.mail.Flag;
|
||||
import com.fsck.k9.mail.Folder;
|
||||
import com.fsck.k9.mail.Folder.FolderType;
|
||||
import com.fsck.k9.mail.Message;
|
||||
import com.fsck.k9.mail.Message.RecipientType;
|
||||
import com.fsck.k9.mail.MessageRetrievalListener;
|
||||
|
|
|
@ -13,6 +13,7 @@ dependencies {
|
|||
|
||||
api project(":mail:common")
|
||||
api project(":mail:protocols:imap")
|
||||
api project(":mail:protocols:pop3")
|
||||
|
||||
implementation "org.apache.james:apache-mime4j-core:0.8.1"
|
||||
implementation "org.apache.james:apache-mime4j-dom:0.8.1"
|
||||
|
|
52
mail/protocols/pop3/build.gradle
Normal file
52
mail/protocols/pop3/build.gradle
Normal file
|
@ -0,0 +1,52 @@
|
|||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'org.jetbrains.kotlin.android'
|
||||
|
||||
apply from: "${rootProject.projectDir}/gradle/plugins/checkstyle-android.gradle"
|
||||
apply from: "${rootProject.projectDir}/gradle/plugins/findbugs-android.gradle"
|
||||
|
||||
if (rootProject.testCoverage) {
|
||||
apply plugin: 'jacoco'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
||||
|
||||
api project(":mail:common")
|
||||
|
||||
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
||||
implementation "com.android.support:support-annotations:${versions.supportLibrary}"
|
||||
|
||||
testImplementation project(":mail:testing")
|
||||
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
|
||||
testImplementation "junit:junit:${versions.junit}"
|
||||
testImplementation "com.google.truth:truth:${versions.truth}"
|
||||
testImplementation "org.mockito:mockito-core:${versions.mockito}"
|
||||
testImplementation "com.squareup.okio:okio:${versions.okio}"
|
||||
testImplementation "com.jcraft:jzlib:1.0.7"
|
||||
testImplementation "commons-io:commons-io:${versions.commonsIo}"
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion buildConfig.compileSdk
|
||||
buildToolsVersion buildConfig.buildTools
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion buildConfig.minSdk
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
testCoverageEnabled rootProject.testCoverage
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
}
|
||||
}
|
2
mail/protocols/pop3/src/main/AndroidManifest.xml
Normal file
2
mail/protocols/pop3/src/main/AndroidManifest.xml
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="com.fsck.k9.mail.protocols.pop3" />
|
|
@ -3,5 +3,6 @@ include ':mail:common'
|
|||
include ':mail:k9mail'
|
||||
include ':mail:testing'
|
||||
include ':mail:protocols:imap'
|
||||
include ':mail:protocols:pop3'
|
||||
include ':plugins:HoloColorPicker'
|
||||
include ':plugins:openpgp-api-lib:openpgp-api'
|
||||
|
|
Loading…
Reference in a new issue