From dfc780255ee4e4c1156fb47feb36d39b75ad358c Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Fri, 3 May 2024 14:06:14 +0900 Subject: [PATCH] chore: bump gradle develocity plugin@3.17.2 (#1017) - Allow scan publish on Ci environment Signed-off-by: Hiroshi Miura --- .github/workflows/gradle-build-master.yml | 4 ---- settings.gradle | 9 ++++++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle-build-master.yml b/.github/workflows/gradle-build-master.yml index ae27d93cf5..30ea7521a3 100644 --- a/.github/workflows/gradle-build-master.yml +++ b/.github/workflows/gradle-build-master.yml @@ -23,10 +23,6 @@ jobs: - name: Agree gradle-scan terms run: cat ci/gradle/gradle-scan.init.gradle >> settings.gradle - uses: gradle/actions/setup-gradle@v3 - with: - build-scan-publish: true - build-scan-terms-of-service-url: https://gradle.com/terms-of-service - build-scan-terms-of-service-agree: yes name: Setup Gradle id: setup-gradle - name: Run gradle build diff --git a/settings.gradle b/settings.gradle index a228f036e9..98d0f930bc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,6 +1,13 @@ plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' - id 'com.gradle.enterprise' version '3.16.2' + id 'com.gradle.develocity' version '3.17.2' +} +develocity { + buildScan { + publishing.onlyIf { "true".equals(System.getProperty("envIsCi")) } + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" + } } rootProject.name = 'OmegaT' include("machinetranslators:apertium",