build.gradle 3.76 KB
Newer Older
1
2
3
4
5
6
plugins {
    id 'com.android.application'
    id 'kotlin-android'
    id 'kotlin-android-extensions'
    id 'kotlin-kapt'
}
Nihar Thakkar's avatar
Nihar Thakkar committed
7
8

android {
9
10
    compileSdkVersion 29
    buildToolsVersion '29.0.2'
11

Nihar Thakkar's avatar
Nihar Thakkar committed
12
    defaultConfig {
13
        applicationId "foundation.e.apps"
14
15
        minSdkVersion 25
        targetSdkVersion 29
Arnau Vàzquez's avatar
Arnau Vàzquez committed
16
        versionCode 10
Nihar Thakkar's avatar
Nihar Thakkar committed
17
        versionName "1.1.6"
18

Arnau Vàzquez's avatar
Arnau Vàzquez committed
19
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
20
        vectorDrawables.useSupportLibrary = true
Nihar Thakkar's avatar
Nihar Thakkar committed
21
    }
22

Nihar Thakkar's avatar
Nihar Thakkar committed
23
    buildTypes {
24
25
26
        debug {
            applicationIdSuffix ".debug"
        }
Nihar Thakkar's avatar
Nihar Thakkar committed
27
28
29
30
31
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
32
33
    lintOptions {
        lintConfig file("lint.xml")
34
        disable 'MissingTranslation'
35
    }
Arnau Vàzquez's avatar
Arnau Vàzquez committed
36
37
38
    androidExtensions {
        experimental = true
    }
39
    aaptOptions {
narinder Rana's avatar
narinder Rana committed
40
41
        additionalParameters '-I', 'app/e-ui-sdk.jar'
    }
42
43
44
45
46
47
48
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = '1.8'
    }
Nihar Thakkar's avatar
Nihar Thakkar committed
49
50
51
}

dependencies {
52
53
54
55
56
57
58
59
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    implementation 'androidx.core:core-ktx:1.3.2'
    implementation 'androidx.appcompat:appcompat:1.3.0-rc01'
    implementation "com.google.android.material:material:1.3.0"
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
Arnau Vàzquez's avatar
Arnau Vàzquez committed
60

61
    implementation fileTree(include: ['*.jar'], dir: 'libs')
Arnau Vàzquez's avatar
Arnau Vàzquez committed
62

63
64
    // eOS
    compileOnly files("e-ui-sdk.jar")
Arnau Vàzquez's avatar
Arnau Vàzquez committed
65

66
67
    // Preference
    implementation "androidx.preference:preference-ktx:1.1.1"
Arnau Vàzquez's avatar
Arnau Vàzquez committed
68

69
70
    // Lifecycle
    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
Arnau Vàzquez's avatar
Arnau Vàzquez committed
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
    // Bouncy Castle
    implementation 'org.bouncycastle:bcpg-jdk15on:1.60'

    // GSON
    implementation 'com.google.code.gson:gson:2.8.6'

    // EventBus
    implementation 'org.greenrobot:eventbus:3.2.0'

    // Volley
    implementation "com.android.volley:volley:1.2.0"

    // PhotoView
    implementation "com.github.chrisbanes:PhotoView:2.3.0"
Arnau Vàzquez's avatar
Arnau Vàzquez committed
86

87
88
    // RoundedImageView
    implementation "com.makeramen:roundedimageview:2.3.0"
Arnau Vàzquez's avatar
Arnau Vàzquez committed
89

90
91
92
93
94
95
96
    // RecyclerView
    implementation 'androidx.recyclerview:recyclerview:1.1.0'

    // WorkManager
    implementation 'androidx.work:work-runtime:2.5.0'

    // Android-Iconics
Arnau Vàzquez's avatar
Arnau Vàzquez committed
97
98
99
    implementation 'com.mikepenz:iconics-core:3.1.0@aar'
    implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'

100
101
102
103
    // Vectordrawable
    def vector_version = "1.1.0"
    implementation "androidx.vectordrawable:vectordrawable:$vector_version"
    implementation "androidx.vectordrawable:vectordrawable-animated:$vector_version"
104

105
106
107
108
    // Navigation component
    def nav_version = "2.3.4"
    implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
    implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
narinder Rana's avatar
narinder Rana committed
109

110
111
112
113
114
    // RxLifecycle
    def rxlifecycle_version = "3.1.0"
    implementation "com.trello.rxlifecycle3:rxlifecycle-android:$rxlifecycle_version"
    implementation "com.trello.rxlifecycle3:rxlifecycle-components:$rxlifecycle_version"
    implementation "com.trello.rxlifecycle3:rxlifecycle-components-preference:$rxlifecycle_version"
narinder Rana's avatar
narinder Rana committed
115

116
117
118
119
120
121
    // Jackson
    def jackson_version = "2.12.2"
    implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
    implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
    implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
    implementation "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version"
Nihar Thakkar's avatar
Nihar Thakkar committed
122
}