|
|
|
|
@ -11,9 +11,20 @@ pluginManagement {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
plugins { |
|
|
|
|
id 'com.gradle.enterprise' version '3.16.2' |
|
|
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
def isCI = providers.environmentVariable("CI").isPresent() |
|
|
|
|
|
|
|
|
|
gradleEnterprise { |
|
|
|
|
buildScan { |
|
|
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service" |
|
|
|
|
termsOfServiceAgree = "yes" |
|
|
|
|
publishAlwaysIf(isCI) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
dependencyResolutionManagement { |
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) |
|
|
|
|
repositories { |
|
|
|
|
|