plugins { id('com.android.application') id('kotlin-android') id('kotlin-kapt') id('androidx.navigation.safeargs.kotlin') id('kotlin-parcelize') } android { defaultConfig { applicationId "com.example.todoapp" compileSdk 33 minSdkVersion 26 targetSdkVersion 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } buildFeatures{ dataBinding true viewBinding true } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() } sourceSets { main { kotlin { srcDirs += 'build/generated/source/navigation-args' } } } namespace 'com.example.todoapp' buildToolsVersion '33.0.1' compileSdk 33 } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.legacy:legacy-support-v4:1.0.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' // Navigation Component implementation 'androidx.navigation:navigation-fragment-ktx:2.6.0' implementation 'androidx.navigation:navigation-ui-ktx:2.6.0' // Room components implementation "androidx.room:room-runtime:2.5.2" kapt "androidx.room:room-compiler:2.5.2" implementation "androidx.room:room-ktx:2.5.2" androidTestImplementation "androidx.room:room-testing:2.5.2" // Lifecycle components // implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" // implementation "androidx.lifecycle:lifecycle-common-java8:2.5.1" // implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1" // Kotlin components // api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" // api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4" }