63 lines
1.6 KiB
Kotlin
63 lines
1.6 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.smoa.core.security"
|
|
compileSdk = AppConfig.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = AppConfig.minSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.4"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:common"))
|
|
|
|
implementation(platform(Dependencies.composeBom))
|
|
implementation(Dependencies.composeUi)
|
|
implementation(Dependencies.androidxCoreKtx)
|
|
implementation(Dependencies.securityCrypto)
|
|
implementation(Dependencies.okHttp)
|
|
implementation(Dependencies.coroutinesCore)
|
|
implementation(Dependencies.coroutinesAndroid)
|
|
|
|
implementation(Dependencies.hiltAndroid)
|
|
kapt(Dependencies.hiltAndroidCompiler)
|
|
|
|
implementation(Dependencies.roomRuntime)
|
|
implementation(Dependencies.roomKtx)
|
|
kapt(Dependencies.roomCompiler)
|
|
// SQLite support for SQLCipher
|
|
implementation("androidx.sqlite:sqlite:2.4.0")
|
|
|
|
// Database Encryption
|
|
implementation(Dependencies.sqlcipher)
|
|
|
|
// Testing
|
|
testImplementation(Dependencies.junit)
|
|
testImplementation(Dependencies.mockk)
|
|
testImplementation(Dependencies.coroutinesTest)
|
|
testImplementation(Dependencies.truth)
|
|
}
|