1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-23 16:25:30 +00:00
FairEmail/app/build.gradle

123 lines
4.3 KiB
Groovy
Raw Normal View History

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-10-31 17:53:58 +00:00
versionCode 122
versionName "1.122"
2018-08-14 05:53:24 +00:00
archivesBaseName = "FairEmail-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
}
2018-09-26 11:50:45 +00:00
lintOptions {
disable 'MissingTranslation'
}
2018-08-02 13:33:06 +00:00
buildTypes {
release {
2018-09-03 08:04:51 +00:00
debuggable = false
2018-08-02 13:33:06 +00:00
minifyEnabled = true
useProguard = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
2018-09-04 18:06:22 +00:00
debuggable = true
2018-08-02 13:33:06 +00:00
minifyEnabled = true
useProguard = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
pickFirst 'META-INF/LICENSE.txt'
}
}
repositories {
2018-10-12 08:33:23 +00:00
google()
2018-08-02 13:33:06 +00:00
jcenter()
maven {
url "https://repo1.maven.org/maven2/"
2018-08-02 13:33:06 +00:00
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2018-08-24 09:05:00 +00:00
// https://mvnrepository.com/artifact/androidx.appcompat/appcompat
// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
// https://mvnrepository.com/artifact/com.google.android.material/material
// https://mvnrepository.com/artifact/androidx.browser/browser
// https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
// https://mvnrepository.com/artifact/androidx.room/room-runtime
// https://mvnrepository.com/artifact/androidx.paging/paging-runtime
2018-08-25 13:32:52 +00:00
// https://developer.android.com/google/play/billing/billing_library_releases_notes
2018-08-24 09:05:00 +00:00
// https://javaee.github.io/javamail/
// https://jsoup.org/
// http://www.freeutils.net/source/jcharset/
// https://developer.android.com/topic/libraries/support-library/androidx-rn
// https://developer.android.com/topic/libraries/support-library/refactor
// https://developer.android.com/topic/libraries/architecture/adding-components.html
// https://developer.android.com/jetpack/docs/release-notes
2018-09-26 12:53:15 +00:00
def androidx_version = "1.0.0"
2018-09-11 16:28:43 +00:00
def constraintlayout_version = "1.1.3"
2018-09-26 12:53:15 +00:00
def lifecycle_version = "2.0.0"
2018-10-10 11:03:32 +00:00
def room_version = "2.0.0"
def paging_version = "2.0.0"
2018-08-25 13:32:52 +00:00
def billingclient_version = "1.1"
2018-09-11 16:28:43 +00:00
def javamail_version = "1.6.2"
2018-08-07 05:30:15 +00:00
def jsoup_version = "1.11.3"
2018-08-23 09:48:27 +00:00
def jcharset_version = "2.0"
2018-09-18 14:22:10 +00:00
def dnsjava_version = "2.1.8"
2018-10-28 12:49:13 +00:00
def openpgp_version = "12.0"
2018-08-07 05:30:15 +00:00
2018-08-23 09:48:27 +00:00
implementation "androidx.appcompat:appcompat:$androidx_version"
implementation "androidx.recyclerview:recyclerview:$androidx_version"
2018-10-24 09:29:39 +00:00
implementation "androidx.recyclerview:recyclerview-selection:$androidx_version"
2018-09-19 12:11:18 +00:00
implementation "androidx.coordinatorlayout:coordinatorlayout:$androidx_version"
2018-09-12 16:54:48 +00:00
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
2018-08-23 09:48:27 +00:00
implementation "com.google.android.material:material:$androidx_version"
implementation "androidx.browser:browser:$androidx_version"
2018-08-02 13:33:06 +00:00
2018-08-23 09:48:27 +00:00
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation "androidx.paging:paging-runtime:$paging_version"
2018-08-07 06:38:00 +00:00
2018-08-25 13:32:52 +00:00
implementation "com.android.billingclient:billing:$billingclient_version"
2018-08-07 05:30:15 +00:00
implementation "com.sun.mail:android-mail:$javamail_version"
implementation "com.sun.mail:android-activation:$javamail_version"
2018-08-02 13:33:06 +00:00
2018-08-07 05:30:15 +00:00
implementation "org.jsoup:jsoup:$jsoup_version"
2018-08-08 05:02:25 +00:00
2018-08-23 09:48:27 +00:00
implementation "net.freeutils:jcharset:$jcharset_version"
2018-09-12 16:54:48 +00:00
2018-09-18 14:22:10 +00:00
// http://www.xbill.org/dnsjava/
implementation "dnsjava:dnsjava:$dnsjava_version"
2018-10-28 12:49:13 +00:00
// https://github.com/open-keychain/openpgp-api
implementation "org.sufficientlysecure:openpgp-api:$openpgp_version"
2018-09-12 19:11:50 +00:00
// git clone https://android.googlesource.com/platform/frameworks/opt/colorpicker
2018-09-12 16:54:48 +00:00
implementation project(path: ':colorpicker')
2018-08-02 13:33:06 +00:00
}