From aa126c08d1a8dbff8bff0479d176778e291f271c Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sun, 6 Nov 2022 01:14:50 +0100 Subject: Add refreshVersions plugin to upgrade more easily --- settings.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'settings.gradle.kts') diff --git a/settings.gradle.kts b/settings.gradle.kts index ba64b8b1..a9a28367 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,9 @@ import com.gradle.scan.plugin.BuildScanExtension +import de.fayard.refreshVersions.core.* plugins { id("com.gradle.enterprise") version "3.10.2" + id("de.fayard.refreshVersions") version "0.51.0" } rootProject.name = "seven-wonders" @@ -47,3 +49,9 @@ fun BuildScanExtension.addGithubActionsData() { value("Branch", ref.removePrefix("refs/heads/")) } } + +refreshVersions { + rejectVersionIf { + candidate.stabilityLevel != StabilityLevel.Stable || "-alpha" in candidate.value || "-beta" in candidate.value + } +} -- cgit