|
1 | 1 | /* |
2 | | - * Business Source License 1.0 © 2017 FlowCrypt Limited ([email protected]). |
| 2 | + * Business Source License 1.0 © 2017 FlowCrypt Limited ([email protected]). |
3 | 3 | * Use limitations apply. See https://github.com/FlowCrypt/flowcrypt-android/blob/master/LICENSE |
4 | 4 | * Contributors: DenBond7 |
5 | 5 | */ |
@@ -32,6 +32,7 @@ android { |
32 | 32 | versionCode APP_VERSION_CODE as int |
33 | 33 | versionName APP_VERSION_NAME as String |
34 | 34 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 35 | + multiDexEnabled true |
35 | 36 | } |
36 | 37 |
|
37 | 38 | signingConfigs { |
@@ -98,46 +99,55 @@ android { |
98 | 99 | } |
99 | 100 |
|
100 | 101 | dependencies { |
101 | | - debugCompile "com.squareup.leakcanary:leakcanary-android:${LEAKCANARY_VERSION}" |
| 102 | + debugImplementation "com.squareup.leakcanary:leakcanary-android:${LEAKCANARY_VERSION}" |
102 | 103 |
|
103 | | - releaseCompile "com.squareup.leakcanary:leakcanary-android-no-op:${LEAKCANARY_VERSION}" |
| 104 | + releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAKCANARY_VERSION}" |
104 | 105 |
|
105 | | - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { |
| 106 | + androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { |
106 | 107 | exclude group: 'com.android.support', module: 'support-annotations' |
107 | 108 | }) |
108 | 109 |
|
109 | | - testCompile "com.squareup.leakcanary:leakcanary-android-no-op:${LEAKCANARY_VERSION}" |
110 | | - testCompile "junit:junit:${JUNIT_VERSION}" |
111 | | - |
112 | | - compile fileTree(include: ['*.jar'], dir: 'libs') |
113 | | - |
114 | | - compile "com.android.support:support-v4:${ANDROID_SUPPORT_VERSION}" |
115 | | - compile "com.android.support:appcompat-v7:${ANDROID_SUPPORT_VERSION}" |
116 | | - compile "com.android.support:design:${ANDROID_SUPPORT_VERSION}" |
117 | | - compile "com.android.support:preference-v14:${ANDROID_SUPPORT_VERSION}" |
118 | | - compile "com.android.support:cardview-v7:${ANDROID_SUPPORT_VERSION}" |
119 | | - compile "com.android.support:customtabs:${ANDROID_SUPPORT_VERSION}" |
120 | | - compile 'com.android.support.constraint:constraint-layout:1.0.2' |
121 | | - |
122 | | - compile "com.google.android.gms:play-services-base:${PLAY_SERVICES_VERSION}" |
123 | | - compile "com.google.android.gms:play-services-auth:${PLAY_SERVICES_VERSION}" |
124 | | - compile 'com.google.code.gson:gson:2.8.2' |
| 110 | + testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAKCANARY_VERSION}" |
| 111 | + testImplementation "junit:junit:${JUNIT_VERSION}" |
| 112 | + |
| 113 | + implementation fileTree(include: ['*.jar'], dir: 'libs') |
| 114 | + |
| 115 | + implementation "com.android.support:support-v4:${ANDROID_SUPPORT_VERSION}" |
| 116 | + implementation "com.android.support:appcompat-v7:${ANDROID_SUPPORT_VERSION}" |
| 117 | + implementation "com.android.support:design:${ANDROID_SUPPORT_VERSION}" |
| 118 | + implementation "com.android.support:preference-v14:${ANDROID_SUPPORT_VERSION}" |
| 119 | + implementation "com.android.support:cardview-v7:${ANDROID_SUPPORT_VERSION}" |
| 120 | + implementation "com.android.support:customtabs:${ANDROID_SUPPORT_VERSION}" |
| 121 | + implementation 'com.android.support.constraint:constraint-layout:1.0.2' |
| 122 | + implementation 'com.android.support:multidex:1.0.2' |
| 123 | + |
| 124 | + implementation "com.google.android.gms:play-services-base:${PLAY_SERVICES_VERSION}" |
| 125 | + implementation "com.google.android.gms:play-services-auth:${PLAY_SERVICES_VERSION}" |
| 126 | + implementation 'com.google.code.gson:gson:2.8.2' |
| 127 | + implementation('com.google.api-client:google-api-client-android:1.23.0') { |
| 128 | + exclude group: 'org.apache.httpcomponents' |
| 129 | + exclude group: 'com.google.code.findbugs' |
| 130 | + } |
| 131 | + implementation('com.google.apis:google-api-services-gmail:v1-rev72-1.23.0') { |
| 132 | + exclude group: 'org.apache.httpcomponents' |
| 133 | + exclude group: 'com.google.code.findbugs' |
| 134 | + } |
125 | 135 |
|
126 | | - compile "com.squareup.retrofit2:retrofit:${RETROFIT_VERSION}" |
127 | | - compile "com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}" |
128 | | - compile "com.squareup.okhttp3:logging-interceptor:${OKHTTP_VERSION}" |
| 136 | + implementation "com.squareup.retrofit2:retrofit:${RETROFIT_VERSION}" |
| 137 | + implementation "com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}" |
| 138 | + implementation "com.squareup.okhttp3:logging-interceptor:${OKHTTP_VERSION}" |
129 | 139 |
|
130 | | - compile "com.sun.mail:android-mail:${JAVA_MAIL_VERSION}" |
131 | | - compile "com.sun.mail:android-activation:${JAVA_MAIL_VERSION}" |
132 | | - compile("com.sun.mail:gimap:${JAVA_MAIL_VERSION}") { |
| 140 | + implementation "com.sun.mail:android-mail:${JAVA_MAIL_VERSION}" |
| 141 | + implementation "com.sun.mail:android-activation:${JAVA_MAIL_VERSION}" |
| 142 | + implementation("com.sun.mail:gimap:${JAVA_MAIL_VERSION}") { |
133 | 143 | exclude group: 'com.sun.mail' |
134 | 144 | } |
135 | 145 |
|
136 | | - compile "com.github.bumptech.glide:glide:${GLIDE_VERSION}" |
| 146 | + implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}" |
137 | 147 | annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE_VERSION}" |
138 | 148 |
|
139 | | - compile 'com.eclipsesource.j2v8:j2v8:4.8.0@aar' |
140 | | - compile 'commons-io:commons-io:2.5' |
141 | | - compile 'ch.acra:acra:4.9.2' |
142 | | - compile 'com.hootsuite.android:nachos:1.1.1' |
| 149 | + implementation 'com.eclipsesource.j2v8:j2v8:4.8.0@aar' |
| 150 | + implementation 'commons-io:commons-io:2.5' |
| 151 | + implementation 'ch.acra:acra:4.9.2' |
| 152 | + implementation 'com.hootsuite.android:nachos:1.1.1' |
143 | 153 | } |
0 commit comments