plugins { alias(libs.plugins.android.library) } android { namespace = "dev.privacyllc.period.core.security" compileSdk = 37 defaultConfig { minSdk = 26 // AndroidKeyStore has no Robolectric shadow — 4.16.1 ships // ShadowBiometricManager and ShadowKeyguardManager and no crypto shadows // at all. So the key itself can only be tested on a device, and this // module needs a runner where core/datastore does not. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } } dependencies { api(libs.androidx.datastore.preferences) implementation(libs.kotlinx.coroutines.core) testImplementation(libs.junit) testImplementation(libs.kotlinx.coroutines.test) androidTestImplementation(libs.androidx.test.junit) androidTestImplementation(libs.androidx.test.runner) androidTestImplementation(libs.androidx.test.rules) androidTestImplementation(libs.kotlinx.coroutines.test) }