diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2022-11-06 01:14:50 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2022-11-06 03:16:28 +0100 |
commit | aa126c08d1a8dbff8bff0479d176778e291f271c (patch) | |
tree | b46fe2076e31fabc11e6330e31c7df1d7845a42b /settings.gradle.kts | |
parent | Upgrade docker actions (diff) | |
download | seven-wonders-aa126c08d1a8dbff8bff0479d176778e291f271c.tar.gz seven-wonders-aa126c08d1a8dbff8bff0479d176778e291f271c.tar.bz2 seven-wonders-aa126c08d1a8dbff8bff0479d176778e291f271c.zip |
Add refreshVersions plugin to upgrade more easily
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r-- | settings.gradle.kts | 8 |
1 files changed, 8 insertions, 0 deletions
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 + } +} |