-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Convert Plaid to use AndroidX #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
dd2ebf7
6b23efa
8e60a35
75b8ffd
d2cefa3
3a038ef
aba91a9
b38f2cf
0c5a3d6
44dc2ba
0a5a5a3
a520c32
7aad300
27fbae9
9715e2f
a997200
4109a57
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ buildscript { | |
'compileSdk' : 28, | ||
'minSdk' : 23, | ||
'targetSdk' : 28, | ||
'constraintLayout' : '1.1.3', | ||
'constraintLayout' : '2.0.0-alpha2', | ||
'coreKtx' : '1.0.0', | ||
'coroutines' : '0.26.1-eap13', | ||
'crashlytics' : '2.9.4', | ||
'dagger' : '2.16', | ||
'espresso' : '3.0.2', | ||
'espresso' : '3.1.0-beta02', | ||
'fabric' : '1.25.4', | ||
'firebase' : '16.0.1', | ||
'glide' : '4.8.0', | ||
|
@@ -35,17 +35,18 @@ buildscript { | |
'junit' : '4.12', | ||
'kotlin' : '1.3.0-rc-146', | ||
'ktlint' : '0.24.0', | ||
'lifecycle' : '1.1.1', | ||
'legacy_support' : '1.0.0', | ||
'lifecycle' : '2.0.0', | ||
'mockito' : '2.23.0', | ||
'mockito_kotlin' : '2.0.0-RC3', | ||
'okhttp' : '3.10.0', | ||
'retrofit' : '2.4.0', | ||
'retrofitCoroutines': '0.9.2', | ||
'room' : '1.1.1', | ||
'room' : '2.1.0-alpha01', | ||
'supportLibrary' : '27.1.1', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this be removed now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes! 🎉 |
||
'test_rules' : '1.0.2', | ||
'test_runner' : '1.0.2', | ||
'ui_automator' : '2.1.3' | ||
'test_rules' : '1.1.0-beta02', | ||
'test_runner' : '1.1.0-beta02', | ||
'ui_automator' : '2.2.0-beta02' | ||
] | ||
ext.names = [ | ||
'applicationId': 'io.plaidapp' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,14 +68,14 @@ repositories { | |
dependencies { | ||
api project(':bypass') | ||
|
||
api 'androidx.room:room-runtime:2.1.0-alpha01' | ||
api "androidx.room:room-runtime:${versions.room}" | ||
api "androidx.core:core-ktx:${versions.coreKtx}" | ||
api 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' | ||
api 'androidx.browser:browser:1.0.0' | ||
api 'com.google.android.material:material:1.0.0' | ||
api 'androidx.palette:palette:1.0.0' | ||
api 'androidx.recyclerview:recyclerview:1.0.0' | ||
api 'androidx.dynamicanimation:dynamicanimation:1.0.0' | ||
api "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}" | ||
api "androidx.browser:browser:${versions.legacy_support}" | ||
api "com.google.android.material:material:${versions.legacy_support}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move down to maintain alphabetic order? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved it down, though I wanted to avoid alphabetizing the list to limit the PR size. |
||
api "androidx.palette:palette:${versions.legacy_support}" | ||
api "androidx.recyclerview:recyclerview:${versions.legacy_support}" | ||
api "androidx.dynamicanimation:dynamicanimation:${versions.legacy_support}" | ||
api "com.github.bumptech.glide:glide:${versions.glide}" | ||
api "com.github.bumptech.glide:okhttp3-integration:${versions.glide}" | ||
api "com.github.bumptech.glide:recyclerview-integration:${versions.glide}" | ||
|
@@ -88,12 +88,11 @@ dependencies { | |
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}" | ||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.coroutines}" | ||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines}" | ||
api "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:" + | ||
"${versions.retrofitCoroutines}" | ||
api "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:${versions.retrofitCoroutines}" | ||
api "org.jsoup:jsoup:${versions.jsoup}" | ||
api 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' | ||
api 'androidx.lifecycle:lifecycle-extensions:2.0.0' | ||
kapt 'androidx.room:room-compiler:2.1.0-alpha01' | ||
api "androidx.lifecycle:lifecycle-viewmodel:${versions.lifecycle}" | ||
api "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}" | ||
kapt "androidx.room:room-compiler:${versions.room}" | ||
kapt "com.github.bumptech.glide:compiler:${versions.glide}" | ||
kapt "com.google.dagger:dagger-compiler:${versions.dagger}" | ||
|
||
|
@@ -104,16 +103,16 @@ dependencies { | |
testImplementation "org.mockito:mockito-core:${versions.mockito}" | ||
|
||
androidTestImplementation project(':test_shared') | ||
androidTestImplementation 'androidx.test:runner:1.1.0-beta02' | ||
androidTestImplementation 'androidx.test:rules:1.1.0-beta02' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-beta02' | ||
androidTestImplementation "androidx.test:runner:${versions.test_runner}" | ||
androidTestImplementation "androidx.test:rules:${versions.test_rules}" | ||
androidTestImplementation "androidx.test.espresso:espresso-core:${versions.espresso}" | ||
androidTestImplementation "org.mockito:mockito-core:${versions.mockito}" | ||
androidTestImplementation "org.mockito:mockito-android:${versions.mockito}" | ||
androidTestImplementation "com.squareup.retrofit2:retrofit-mock:${versions.retrofit}" | ||
|
||
// Work around issue with runtime classpath version conflict | ||
androidTestImplementation 'androidx.legacy:legacy-support-core-utils:1.0.0' | ||
androidTestImplementation 'androidx.lifecycle:lifecycle-runtime:2.0.0' | ||
androidTestImplementation "androidx.legacy:legacy-support-core-utils:${versions.legacy_support}" | ||
androidTestImplementation "androidx.lifecycle:lifecycle-runtime:${versions.lifecycle}" | ||
} | ||
|
||
kotlin { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name seems strange?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split into a few different versions -
androidx
,legacyCoreUtils
, andmaterial
.androidx
feels generic though - suggestions for something better?