home-assistant-android/settings.gradle.kts
leroyboerefijn dbf87cc509
Add Wear OS module for initial support (#1250)
* 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
2020-12-22 22:58:30 -05:00

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
}
}