mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2025-12-19 03:57:49 -06:00
feat: WIP
This commit is contained in:
12066
app/src/proRelease/generated/baselineProfiles/baseline-prof.txt
Normal file
12066
app/src/proRelease/generated/baselineProfiles/baseline-prof.txt
Normal file
File diff suppressed because it is too large
Load Diff
12066
app/src/proRelease/generated/baselineProfiles/startup-prof.txt
Normal file
12066
app/src/proRelease/generated/baselineProfiles/startup-prof.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -29,6 +29,7 @@ plugins {
|
||||
id("com.google.dagger.hilt.android") version ("2.51.1") apply false
|
||||
id("com.gradle.enterprise") version("3.17.6") apply false
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version (Versions.kotlin)
|
||||
id("com.google.devtools.ksp") version "1.9.0-1.0.13" apply false
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ plugins {
|
||||
kotlin("multiplatform")
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
id("com.google.devtools.ksp")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@@ -15,10 +16,15 @@ kotlin {
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
val room_version = "2.6.1"
|
||||
api("androidx.compose.runtime:runtime:1.6.8")
|
||||
api("androidx.compose.foundation:foundation:1.6.8")
|
||||
api("androidx.compose.material:material:1.6.8")
|
||||
implementation("org.reduxkotlin:redux-kotlin-compose:0.6.0")
|
||||
implementation("androidx.room:room-runtime:$room_version")
|
||||
add("kspJvm", "androidx.room:room-compiler:$room_version")
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
val commonTest by getting {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.yogeshpaliyal.keypass.common
|
||||
|
||||
import android.content.Context
|
||||
|
||||
//fun getDatabaseBuilder(ctx: Context): RoomDatabase.Builder<AppDatabase> {
|
||||
// val appContext = ctx.applicationContext
|
||||
// val dbFile = appContext.getDatabasePath("my_room.db")
|
||||
// return Room.databaseBuilder<AppDatabase>(
|
||||
// context = appContext,
|
||||
// name = dbFile.absolutePath
|
||||
// )
|
||||
//}
|
||||
Reference in New Issue
Block a user