plugins { id 'com.android.library' id 'kotlin-android' id 'kotlin-kapt' id 'com.google.devtools.ksp' id 'com.google.dagger.hilt.android' } android { compileSdkVersion 33 buildToolsVersion "33.0.0" defaultConfig { minSdkVersion 16 targetSdkVersion 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = '11' } lintOptions { checkReleaseBuilds = false } flavorDimensions "processorConfig" productFlavors { withKapt { dimension "processorConfig" } withKsp { dimension "processorConfig" } } } kotlin { jvmToolchain(11) } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT' kaptWithKapt 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT' kspWithKsp 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT' testImplementation 'androidx.test.ext:junit:1.1.3' testImplementation 'com.google.truth:truth:1.0.1' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'com.google.truth:truth:1.0.1' } hilt { enableAggregatingTask = true }