plugins { id 'com.android.library' id 'kotlin-android' id 'kotlin-kapt' id 'dagger.hilt.android.plugin' } android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { minSdkVersion 15 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } lintOptions { checkReleaseBuilds = false } } dependencies { implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT' kapt 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT' testImplementation 'androidx.test.ext:junit:1.1.2' testImplementation 'com.google.truth:truth:1.0.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test:runner:1.3.0' androidTestImplementation 'com.google.truth:truth:1.0.1' } hilt { enableExperimentalClasspathAggregation = true }