home-assistant-android/wear/build.gradle.kts
dependabot[bot] 7fd58a9b70
Bump dagger from 2.38.1 to 2.39 (#1736)
Bumps [dagger](https://github.com/google/dagger) from 2.38.1 to 2.39.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.38.1...dagger-2.39)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 21:46:02 -04:00

81 lines
2.1 KiB
Plaintext

plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-kapt")
}
android {
compileSdkVersion(30)
defaultConfig {
applicationId = "io.homeassistant.companion.android"
minSdkVersion(23)
targetSdkVersion(30)
versionName = System.getenv("VERSION") ?: "LOCAL"
versionCode = System.getenv("VERSION_CODE")?.toIntOrNull() ?: 1
javaCompileOptions {
annotationProcessorOptions {
arguments(mapOf("room.incremental" to "true"))
}
}
}
buildFeatures {
viewBinding = true
}
compileOptions {
sourceCompatibility(JavaVersion.VERSION_11)
targetCompatibility(JavaVersion.VERSION_11)
}
signingConfigs {
create("release") {
storeFile = file(System.getenv("KEYSTORE_PATH") ?: "release_keystore.keystore")
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: ""
keyAlias = System.getenv("KEYSTORE_ALIAS") ?: ""
keyPassword = System.getenv("KEYSTORE_ALIAS_PASSWORD") ?: ""
isV1SigningEnabled = true
isV2SigningEnabled = true
}
}
buildTypes {
named("debug").configure {
applicationIdSuffix = ".debug"
}
named("release").configure {
isDebuggable = false
isJniDebuggable = false
isZipAlignEnabled = true
signingConfig = signingConfigs.getByName("release")
}
}
kotlinOptions {
jvmTarget = "11"
}
lintOptions {
disable("MissingTranslation")
}
}
dependencies {
implementation(project(":common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.wear:wear:1.1.0")
implementation("com.google.android.support:wearable:2.8.1")
implementation("com.google.android.gms:play-services-wearable:17.1.0")
compileOnly("com.google.android.wearable:wearable:2.8.1")
implementation("com.google.dagger:dagger:2.39")
kapt("com.google.dagger:dagger-compiler:2.39")
}