build: update gradle script
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# Gradle properties are not passed to included builds https://github.com/gradle/gradle/issues/2534
|
||||
org.gradle.parallel=true
|
||||
org.gradle.caching=true
|
||||
org.gradle.configureondemand=true
|
||||
1
build-logic/gradle.properties
Symbolic link
1
build-logic/gradle.properties
Symbolic link
@@ -0,0 +1 @@
|
||||
../gradle.properties
|
||||
BIN
build-logic/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
build-logic/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
@@ -1,5 +0,0 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -14,7 +14,7 @@ pluginManagement {
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google() {
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
@@ -40,16 +40,20 @@ dependencyResolutionManagement {
|
||||
includeBuild("build-logic")
|
||||
|
||||
plugins {
|
||||
`gradle-enterprise`
|
||||
id("com.gradle.develocity") version "3.17.4"
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
|
||||
}
|
||||
|
||||
gradleEnterprise {
|
||||
develocity {
|
||||
buildScan {
|
||||
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
||||
termsOfServiceAgree = "yes"
|
||||
publishAlwaysIf(System.getenv("GITHUB_ACTIONS") == "true")
|
||||
publishOnFailure()
|
||||
termsOfUseUrl = "https://gradle.com/terms-of-service"
|
||||
termsOfUseAgree = "yes"
|
||||
val isOffline = providers.provider { gradle.startParameter.isOffline }.getOrElse(false)
|
||||
val ci = System.getenv("GITHUB_ACTIONS") == "true"
|
||||
publishing {
|
||||
onlyIf { System.getenv("GITHUB_ACTIONS") == "true" }
|
||||
onlyIf { !isOffline && (it.buildResult.failures.isNotEmpty() || ci) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user