From 3d22d656cc317d4905656d3369dc70a5c2f166ce Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Tue, 15 Aug 2023 14:10:16 -0500 Subject: [PATCH] Connect build to ge.spring.io (#354) This change publishes a build scan to ge.spring.io for every local build from an authenticated Spring committer and for CI where appropriate access tokens are available. The build will not fail if publishing fails. This change also allows the build to benefit from remote build caching, providing faster builds for all contributors. Additionally, the project will have access to all features of Gradle Enterprise such as: - Dashboards to view all historical build scans, along with performance trends over time - Build failure analytics for enhanced investigation and diagnosis of build failures - Test failure analytics to better understand trends and causes around slow, failing, and flaky tests --- README.md | 2 ++ settings.gradle | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 7c034597..7407bd92 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ Spring Integration Samples ========================== +[![Revved up by Gradle Enterprise](https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.spring.io/scans?search.rootProjectNames=spring-integration-samples) + Welcome to the **Spring Integration Samples** repository which provides **50+ samples** to help you learn [Spring Integration][]. To simplify your experience, the *Spring Integration* samples are split into 4 distinct categories: * Basic diff --git a/settings.gradle b/settings.gradle index 7e8f229c..2d70559e 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,15 @@ +pluginManagement { + repositories { + gradlePluginPortal() + maven { url 'https://repo.spring.io/release' } + } +} + +plugins { + id 'com.gradle.enterprise' version '3.14.1' + id 'io.spring.ge.conventions' version '0.0.13' +} + rootProject.name = 'spring-integration-samples' ['advanced', 'applications', 'basic', 'intermediate', 'dsl'].each {