home-assistant-android/settings.gradle.kts
Justin Bassett 151957436c
Fix Playstore Publish and add Dependabot (#1621)
* Fix GPP error and remove deprecated repos.

* Migrate off Config.kt so we can enable dependabot.

* Add Dependabot config.
2021-07-25 15:33:59 -04:00

33 lines
816 B
Plaintext

import org.gradle.kotlin.dsl.support.serviceOf
include(":common", ":app", ":wear")
rootProject.name = "home-assistant-android"
plugins {
id("com.gradle.enterprise").version("3.6.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
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
maven("https://jitpack.io")
}
}