apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "eu.faircode.email" minSdkVersion 23 targetSdkVersion 28 versionCode 4 versionName "0.4" archivesBaseName = "SafeEmail-v$versionName" javaCompileOptions { annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] } } } 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' }