From 36061fd68dc396928e0705e4dd9149295ebad0c3 Mon Sep 17 00:00:00 2001 From: Ralf Wondratschek Date: Mon, 21 Oct 2024 12:55:37 -0700 Subject: [PATCH] Publish build scans in CI Publish build scans in CI for free. For each build a link is published and the build scan can be activated. --- settings.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/settings.gradle b/settings.gradle index d208a36..950707b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -14,6 +14,22 @@ pluginManagement { } } +plugins { + id "com.gradle.develocity" version "3.18.1" +} + +develocity { + buildScan { + publishing.onlyIf { + providers.environmentVariable("CI").isPresent() || + providers.systemProperty("CI").isPresent() || + providers.gradleProperty("CI").isPresent() + } + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" + } +} + rootProject.name = 'kotlin-inject-anvil' include ':compiler'