mirror of
https://github.com/home-assistant/android
synced 2024-09-18 23:52:51 +00:00
Update AGP, Kotlin. (#1047)
This commit also enables the room incremental annotation processor. This also fixes the export schema warning in the console logs.
This commit is contained in:
parent
44362d868b
commit
48b0d2fcff
|
@ -21,6 +21,12 @@ android {
|
|||
versionCode = System.getenv("VERSION_CODE")?.toIntOrNull() ?: 1
|
||||
|
||||
manifestPlaceholders["sentryRelease"] = "$applicationId@$versionName"
|
||||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments(mapOf("room.incremental" to "true"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
|
|
|
@ -44,7 +44,8 @@ import kotlinx.coroutines.runBlocking
|
|||
StaticWidgetEntity::class,
|
||||
TemplateWidgetEntity::class
|
||||
],
|
||||
version = 12
|
||||
version = 12,
|
||||
exportSchema = false
|
||||
)
|
||||
abstract class AppDatabase : RoomDatabase() {
|
||||
abstract fun authenticationDao(): AuthenticationDao
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
object Config {
|
||||
|
||||
object Plugin {
|
||||
const val android = "com.android.tools.build:gradle:4.0.2"
|
||||
const val android = "com.android.tools.build:gradle:4.1.0"
|
||||
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Dependency.Kotlin.version}"
|
||||
const val google = "com.google.gms:google-services:4.3.4"
|
||||
const val appDistribution = "com.google.firebase:firebase-appdistribution-gradle:1.4.0"
|
||||
|
@ -23,7 +23,7 @@ object Config {
|
|||
|
||||
object Dependency {
|
||||
object Kotlin {
|
||||
const val version = "1.3.72"
|
||||
const val version = "1.4.10"
|
||||
const val core = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${version}"
|
||||
|
||||
private const val coroutinesVersion = "1.3.3"
|
||||
|
|
Loading…
Reference in a new issue