76.2 Modifying the Build Configuration
Begin by launching Android Studio and opening the RoomDemo project started in the previous chapter. Before adding any new classes to the project, the first step is to add some additional libraries to the build configuration, including the Room persistence library. This is also an ideal opportunity to add the Kotlin extensions plugin. Locate and edit the module level build.gradle file (app -> Gradle Scripts -> build.gradle (Module: RoomDemo.app)) and modify it as follows:
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
id 'kotlin-kapt'
}
.
.
dependencies {
.
.
implementation "androidx.room:room-runtime:2.2.5"
implementation "androidx.fragment:fragment-ktx:1.2.5"...