fix: f-droid pipelines issues

This commit is contained in:
Zane Schepke 2023-09-15 13:36:27 -04:00
parent 413b9a37df
commit 2174c3f48c
2 changed files with 1 additions and 13 deletions

View File

@ -30,14 +30,6 @@ android {
vectorDrawables {
useSupportLibrary = true
}
javaCompileOptions {
annotationProcessorOptions {
arguments += mapOf(
"room.schemaLocation" to "$projectDir/schemas",
"room.incremental" to "true"
)
}
}
}
buildTypes {
@ -49,8 +41,6 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
//for release testing
signingConfig = signingConfigs.getByName("debug")
}
debug {
isDebuggable = true
@ -70,7 +60,6 @@ android {
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
@ -137,7 +126,6 @@ dependencies {
//room
implementation(libs.androidx.room.runtime)
annotationProcessor(libs.androidx.room.compiler)
ksp(libs.androidx.room.compiler)
implementation(libs.androidx.room.ktx)

View File

@ -6,7 +6,7 @@ import androidx.room.TypeConverters
import com.zaneschepke.wireguardautotunnel.repository.model.Settings
import com.zaneschepke.wireguardautotunnel.repository.model.TunnelConfig
@Database(entities = [Settings::class, TunnelConfig::class], version = 1, exportSchema = true)
@Database(entities = [Settings::class, TunnelConfig::class], version = 1, exportSchema = false)
@TypeConverters(DatabaseListConverters::class)
abstract class AppDatabase : RoomDatabase() {
abstract fun settingDao(): SettingsDoa