Commit 63c2464b authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Apps: Upstream dependencies & reformat gradle file



- Upstream all dependencies to their latest version
- Add missing dependencies for tests implementation
- Drop non-required new lines
- Re-arrange dependencies with proper comments for better readability
- Blacklist running jetifier on bouncycastle as it cannot handle multi-release jars
Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent b3899c50
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
id 'kotlin-kapt'
}
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "foundation.e.apps"
minSdkVersion 21
targetSdkVersion 27
versionCode 10
versionName "1.1.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions.cruncherEnabled = false
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
crunchPngs false
}
}
lintOptions {
lintConfig file("lint.xml")
disable 'MissingTranslation'
}
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
androidExtensions {
experimental = true
}
aaptOptions{
aaptOptions {
additionalParameters '-I', 'app/e-ui-sdk.jar'
}
compileOptions {
......@@ -48,53 +47,74 @@ android {
}
dependencies {
def lifecycle_version = "1.1.1"
implementation 'androidx.work:work-runtime:2.3.1'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
// implementation 'com.android.support:design:27.1.1'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
testImplementation 'junit:junit:4.12'
implementation 'org.bouncycastle:bcpg-jdk15on:1.60'
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'
implementation "androidx.vectordrawable:vectordrawable:1.0.0"
implementation "androidx.vectordrawable:vectordrawable-animated:1.0.0"
implementation 'com.google.android.material:material:1.1.0-alpha05'
implementation fileTree(include: ['*.jar'], dir: 'libs')
def nav_version = "1.0.0-alpha02"
implementation 'androidx.navigation:navigation-fragment-ktx:2.0.0-rc02'
// use -ktx for Kotlin
implementation 'androidx.navigation:navigation-ui-ktx:2.0.0-rc02'
// eOS
compileOnly files("e-ui-sdk.jar")
implementation "androidx.preference:preference-ktx:1.1.0"
// Preference
implementation "androidx.preference:preference-ktx:1.1.1"
// Lifecycle
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
// 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"
// RoundedImageView
implementation "com.makeramen:roundedimageview:2.3.0"
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.google.android.material:material:1.0.0'
// RecyclerView
implementation 'androidx.recyclerview:recyclerview:1.1.0'
// WorkManager
implementation 'androidx.work:work-runtime:2.5.0'
// Android-Iconics
implementation 'com.mikepenz:iconics-core:3.1.0@aar'
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.trello.rxlifecycle3:rxlifecycle-android:3.1.0'
implementation 'com.trello.rxlifecycle3:rxlifecycle-components:3.1.0'
implementation 'com.trello.rxlifecycle3:rxlifecycle-components-preference:3.1.0'
implementation 'com.makeramen:roundedimageview:2.3.0'
// Jackson
implementation "com.fasterxml.jackson.core:jackson-core:2.11.1"
implementation "com.fasterxml.jackson.core:jackson-annotations:2.11.1"
implementation "com.fasterxml.jackson.core:jackson-databind:2.11.1"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1"
// Vectordrawable
def vector_version = "1.1.0"
implementation "androidx.vectordrawable:vectordrawable:$vector_version"
implementation "androidx.vectordrawable:vectordrawable-animated:$vector_version"
implementation 'com.android.volley:volley:1.1.1'
// Navigation component
def nav_version = "2.3.4"
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
// 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"
compileOnly files("e-ui-sdk.jar")
// 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"
}
......@@ -12,4 +12,4 @@ org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# org.gradle.parallel=true
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment