|
|
@@ -0,0 +1,57 @@
|
|
|
+plugins {
|
|
|
+ alias(libs.plugins.android.library)
|
|
|
+ alias(libs.plugins.kotlin.android)
|
|
|
+ alias(libs.plugins.hilt.android)
|
|
|
+ alias(libs.plugins.devtools.ksp)
|
|
|
+ kotlin("kapt")
|
|
|
+}
|
|
|
+
|
|
|
+android {
|
|
|
+ namespace = "io.nexilis.data"
|
|
|
+ compileSdk {
|
|
|
+ version = release(36)
|
|
|
+ }
|
|
|
+
|
|
|
+ defaultConfig {
|
|
|
+ minSdk = 26
|
|
|
+
|
|
|
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
+ consumerProguardFiles("consumer-rules.pro")
|
|
|
+ }
|
|
|
+
|
|
|
+ buildTypes {
|
|
|
+ release {
|
|
|
+ isMinifyEnabled = false
|
|
|
+ proguardFiles(
|
|
|
+ getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
+ "proguard-rules.pro"
|
|
|
+ )
|
|
|
+ }
|
|
|
+ }
|
|
|
+ compileOptions {
|
|
|
+ sourceCompatibility = JavaVersion.VERSION_11
|
|
|
+ targetCompatibility = JavaVersion.VERSION_11
|
|
|
+ }
|
|
|
+ kotlinOptions {
|
|
|
+ jvmTarget = "11"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+dependencies {
|
|
|
+ implementation(libs.androidx.core.ktx)
|
|
|
+ implementation(libs.androidx.appcompat)
|
|
|
+ implementation(libs.material)
|
|
|
+
|
|
|
+ implementation(libs.androidx.room.runtime)
|
|
|
+ ksp(libs.androidx.room.compiler)
|
|
|
+ implementation(libs.android.database.sqlcipher)
|
|
|
+ implementation(libs.androidx.sqlite.framework)
|
|
|
+ implementation(libs.androidx.sqlite)
|
|
|
+ implementation(libs.androidx.room.ktx)
|
|
|
+
|
|
|
+ implementation(libs.hilt.android)
|
|
|
+ kapt(libs.hilt.compiler)
|
|
|
+ testImplementation(libs.junit)
|
|
|
+ androidTestImplementation(libs.androidx.junit)
|
|
|
+ androidTestImplementation(libs.androidx.espresso.core)
|
|
|
+}
|