So far Android studio has handled this, but it is not infallible.
Given the information of target build version (27) and which components I require (TabViews with Fragments, but no need for swiping), where can I find the information required to determine what goes in the module build.gradle dependencies?
This might not be the solution, but a little help. Here are two links that list the libraries.
Android Support libraries: https://developer.android.com/topic/libraries/support-library/packages
Android X libraries: https://developer.android.com/jetpack/androidx/migrate
So if you build fails because of missing classes, you can check here and add the fitting dependency.
Also note that Android Studio lets you auto-migrate to Android X (Refactor > Migrate to AndroidX).