2018-08-02 13:33:06 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "eu.faircode.email"
|
|
|
|
minSdkVersion 23
|
|
|
|
targetSdkVersion 28
|
2018-08-02 21:13:56 +00:00
|
|
|
versionCode 3
|
|
|
|
versionName "0.3"
|
2018-08-02 13:33:06 +00:00
|
|
|
archivesBaseName = "SafeEmail-v$versionName"
|
2018-08-03 12:07:51 +00:00
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
|
|
}
|
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled = true
|
|
|
|
useProguard = true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
minifyEnabled = true
|
|
|
|
useProguard = true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
pickFirst 'META-INF/LICENSE.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url "https://maven.java.net/content/groups/public/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
// https://developer.android.com/topic/libraries/support-library/revisions.html
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.+'
|
|
|
|
implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1'
|
|
|
|
implementation 'com.android.support:design:28.0.0-alpha1'
|
|
|
|
|
|
|
|
// https://developer.android.com/topic/libraries/architecture/adding-components.html
|
|
|
|
implementation "android.arch.lifecycle:extensions:1.1.+"
|
|
|
|
implementation "android.arch.persistence.room:runtime:1.1.+"
|
|
|
|
annotationProcessor "android.arch.lifecycle:compiler:1.1.+"
|
|
|
|
annotationProcessor "android.arch.persistence.room:compiler:1.1.+"
|
|
|
|
|
|
|
|
// https://javaee.github.io/javamail/
|
|
|
|
implementation 'com.sun.mail:android-mail:1.6.0'
|
|
|
|
implementation 'com.sun.mail:android-activation:1.6.0'
|
|
|
|
|
|
|
|
// https://jsoup.org/
|
|
|
|
implementation 'org.jsoup:jsoup:1.11.3'
|
|
|
|
}
|