Skip to content

Commit

Permalink
Upgrade to latest Jetpack libraries
Browse files Browse the repository at this point in the history
Enable Multidex on the legacy-standalone app as it went over the dex limit.

- Browser 1.2.0
- ConstraintLayout 2.0.0-beta4
- Fragment 1.2.0-rc05
- Material 1.1.0-rc01
- Navigation 2.2.0-rc04
- Paging 2.1.1
- Room 2.2.3
- WorkManager 2.3.0-rc01
  • Loading branch information
ianhanniballake committed Jan 14, 2020
1 parent fe5ed13 commit 0c056e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Expand Up @@ -21,9 +21,9 @@ buildscript {

appCompatVersion = '1.1.0'
archCoreVersion = '2.1.0'
browserVersion = '1.0.0'
browserVersion = '1.2.0'
coilVersion = '0.8.0'
constraintLayoutVersion = '2.0.0-beta3'
constraintLayoutVersion = '2.0.0-beta4'
coreVersion = '1.2.0-rc01'
coroutinesVersion = '1.3.2'
crashlyticsVersion = '2.10.1'
Expand All @@ -32,22 +32,22 @@ buildscript {
exifInterfaceVersion = '1.1.0'
firebaseAnalyticsVersion = '17.2.1'
firebasePerfVersion = '19.0.4'
fragmentVersion = '1.2.0-rc03'
fragmentVersion = '1.2.0-rc05'
kotlinVersion = '1.3.61'
lifecycleVersion = '2.2.0-rc03'
materialVersion = '1.1.0-beta01'
materialVersion = '1.1.0-rc01'
multidexVersion = '2.0.1'
navigationVersion = '2.2.0-rc03'
navigationVersion = '2.2.0-rc04'
okhttpVersion = '3.12.6'
pagingVersion = '2.1.0'
pagingVersion = '2.1.1'
playServicesWearableVersion = '17.0.0'
preferenceVersion = '1.1.0'
recyclerViewVersion = '1.1.0'
roomVersion = '2.2.2'
roomVersion = '2.2.3'
swipeRefreshLayoutVersion = '1.1.0-alpha03'
wearableVersion = '2.5.0'
wearVersion = '1.0.0'
workManagerVersion = '2.3.0-beta01'
workManagerVersion = '2.3.0-rc01'
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions legacy-standalone/build.gradle
Expand Up @@ -33,6 +33,8 @@ android {
versionName '1.0.0'
versionCode 1

multiDexEnabled true

def legacyAuthorityValue = "com.google.android.apps.muzei.legacy"
manifestPlaceholders = [legacyAuthority: legacyAuthorityValue]
buildConfigField "String", "LEGACY_AUTHORITY", "\"${legacyAuthorityValue}\""
Expand Down Expand Up @@ -91,6 +93,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
implementation "androidx.multidex:multidex:$multidexVersion"
implementation "androidx.core:core-ktx:$coreVersion"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
Expand Down

0 comments on commit 0c056e1

Please sign in to comment.