lukegjpotter / BikeRacingIreland-AndroidApp

An Android app that will display the Bicycle Races in Ireland that are on the CyclingIreland Calendar.
GNU General Public License v3.0
1 stars 3 forks source link

Update dependancies for newest Android X Libs #10

Closed lukegjpotter closed 5 years ago

lukegjpotter commented 5 years ago

Current Dependencies

// Android SDK Libs
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:design:26.1.0'
implementation "android.arch.lifecycle:extensions:1.1.1"
implementation "android.arch.paging:runtime:1.0.0-alpha4-1"
implementation "android.arch.persistence.room:runtime:1.0.0"
annotationProcessor "android.arch.persistence.room:compiler:1.0.0"

// Source Code Testing
testImplementation 'junit:junit:4.12'
testImplementation "android.arch.core:core-testing:1.1.1"
testImplementation "android.arch.persistence.room:testing:1.0.0"

// Android UI Testing
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

// Non-Android SDK Libs
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

Update them to the new Jetpack (Android X) libraries.

lukegjpotter commented 5 years ago

The rest of the classes will be refactored by Android Studio:

With Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.

Source: https://developer.android.com/jetpack/androidx/migrate#migrate