diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b38fc3f..bf2e855 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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) diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/repository/AppDatabase.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/repository/AppDatabase.kt index f24a87e..633762e 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/repository/AppDatabase.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/repository/AppDatabase.kt @@ -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