Skip to content

Conversation

@martinbonnin
Copy link

@martinbonnin martinbonnin commented Oct 13, 2018

This PR migrates to AndroidX and Android Studio 3.2.1.

It also adds the gradle-versions-plugin and bumps several libraries to their latest version

@codecov
Copy link

codecov bot commented Oct 13, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@8d2b43e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #47   +/-   ##
=========================================
  Coverage          ?   53.62%           
  Complexity        ?       19           
=========================================
  Files             ?        9           
  Lines             ?       69           
  Branches          ?        3           
=========================================
  Hits              ?       37           
  Misses            ?       28           
  Partials          ?        4
Impacted Files Coverage Δ Complexity Δ
...fer/android/boilerplate/ui/browse/BrowseAdapter.kt 100% <ø> (ø) 5 <0> (?)
...er/android/boilerplate/ui/browse/BrowseActivity.kt 47.36% <ø> (ø) 7 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d2b43e...de2bb01. Read the comment docs.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not owner of this repository, but as a developer I wouldn't add any new libraries to any merge request without a note why it is important to this request or repository :-)

testImplementation cacheTestDependencies.junit
testImplementation cacheTestDependencies.kotlinJUnit
testImplementation cacheTestDependencies.mockito
testImplementation cacheTestDependencies.kotlinReflect
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think that this library is necessary. Just curious - why did you add it in every module?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so long ago, I'm not sure any more... Maybe it has to do with a gradle warning saying that different versions of a lib were found on the classpath. Maybe it's something else. Feel free to remove it. If it works well then I guess it's not needed !

testingSupportLibVersion = '0.1'
mockitoKotlinVersion = '1.5.0'
mockitoAndroidVersion = '2.8.47'
mockitoAndroidVersion = '2.8.9' // As of today, 2.23.0 does not work
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downgraded library?

androidAnnotations: "androidx.annotation:annotation:1.0.0",
appCompat: "androidx.appcompat:appcompat:${appCompatVersion}",
supportRecyclerView:"androidx.recyclerview:recyclerview:1.0.0",
supportDesign: "com.google.android.material:material:1.0.0-rc01",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure that when you use supportDesign library you don't need to add supportRecyclerView.

@@ -1,3 +1,7 @@
plugins {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is purpose of this plugin? Is it related to Migrate to androidX MR?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used to check if new versions of libraries are available. No needed for androidx. You can skip it.

@martinbonnin
Copy link
Author

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant