mirror of
https://github.com/home-assistant/android
synced 2024-07-09 04:15:51 +00:00
dbf87cc509
* Add Wear OS module, initial implementation. Currently contains only basic activity with home assistant logo + text. * Update wearos_app package name * Also update package name in home.kt * Update package name/application id to: io.homeassistant.companion.android Update version code and name to be equal to that of the regular android app Merge settings.gradle.kts include into one line Move Home.kt to new path (based on package name) * Remove redundant /build from .gitignore
25 lines
685 B
Plaintext
25 lines
685 B
Plaintext
import org.gradle.kotlin.dsl.support.serviceOf
|
|
|
|
include(":common", ":app", ":wearos_app")
|
|
|
|
rootProject.name = "home-assistant-android"
|
|
|
|
plugins {
|
|
id("com.gradle.enterprise").version("3.4.1")
|
|
}
|
|
|
|
// It should be easier to read an environment variable here once github.com/gradle/configuration-cache/issues/211 is resolved.
|
|
val isCI = serviceOf<ProviderFactory>()
|
|
.environmentVariable("CI")
|
|
.forUseAtConfigurationTime().map { it == "true" }
|
|
.getOrElse(false)
|
|
|
|
gradleEnterprise {
|
|
buildScan {
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
termsOfServiceAgree = "yes"
|
|
publishAlwaysIf(isCI)
|
|
isUploadInBackground = !isCI
|
|
}
|
|
}
|