2023-02-04 19:58:53 +01:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
2023-11-23 09:41:46 +01:00
|
|
|
google {
|
|
|
|
content {
|
|
|
|
includeGroupByRegex(".*google.*")
|
|
|
|
includeGroupByRegex(".*android.*")
|
|
|
|
}
|
|
|
|
}
|
2023-02-04 19:58:53 +01:00
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-23 12:28:13 +01:00
|
|
|
plugins {
|
2024-02-23 14:41:33 +01:00
|
|
|
id 'com.gradle.enterprise' version '3.16.2'
|
2024-02-23 12:28:13 +01:00
|
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
|
|
|
|
}
|
|
|
|
|
2024-02-23 14:41:33 +01:00
|
|
|
def isCI = providers.environmentVariable("CI").isPresent()
|
|
|
|
|
|
|
|
gradleEnterprise {
|
|
|
|
buildScan {
|
|
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
|
|
termsOfServiceAgree = "yes"
|
|
|
|
publishAlwaysIf(isCI)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-04 19:58:53 +01:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
2023-11-23 09:41:46 +01:00
|
|
|
google {
|
|
|
|
content {
|
|
|
|
includeGroupByRegex(".*google.*")
|
|
|
|
includeGroupByRegex(".*android.*")
|
|
|
|
}
|
|
|
|
}
|
2023-02-04 19:58:53 +01:00
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
|
|
|
|
|
2017-01-03 02:37:38 +01:00
|
|
|
include ':app'
|