From bc8e33199b487f3360f7038e239f05c306546f12 Mon Sep 17 00:00:00 2001 From: Sergey Loktev Date: Wed, 2 Oct 2024 16:21:39 +0300 Subject: [PATCH] Run CI with --scan gradle flag --- .github/workflows/build-and-run-tests.yml | 2 +- settings.gradle.kts | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-run-tests.yml b/.github/workflows/build-and-run-tests.yml index 1c1eae220..57af24e4e 100644 --- a/.github/workflows/build-and-run-tests.yml +++ b/.github/workflows/build-and-run-tests.yml @@ -70,7 +70,7 @@ jobs: - name: Build and run tests run: | - ./gradlew build --no-daemon -PcpythonActivated=true + ./gradlew build --no-daemon -PcpythonActivated=true --scan - name: Run Detekt run: | diff --git a/settings.gradle.kts b/settings.gradle.kts index 121c7fcbd..b7bc4b8dd 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -30,3 +30,14 @@ pluginManagement { } } } + +plugins { + `gradle-enterprise` +} + +gradleEnterprise { + buildScan { + termsOfServiceUrl = "https://gradle.com/terms-of-service" + termsOfServiceAgree = "yes" + } +}