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 --- gradle/libs.versions.toml | 78 +++++++++++++++++++++++++++++++++++++++++++++++ settings.gradle.kts | 8 +++++ versions.properties | 10 ++++++ 3 files changed, 96 insertions(+) create mode 100644 versions.properties diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 993a03ff..7d1abde1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,22 +1,100 @@ +## Generated by $ ./gradlew refreshVersionsCatalog + [versions] + kotlinx-coroutines = "1.6.3" +## ⬆ = "1.6.3-native-mt" +## ⬆ = "1.6.4" kotlinx-serialization = "1.3.2" +## ⬆ = "1.3.3" +## ⬆ = "1.4.0" +## ⬆ = "1.4.1" krossbow = "4.0.2" +## ⬆ = "4.0.3" +## ⬆ = "4.1.0" +## ⬆ = "4.2.0" +## ⬆ = "4.3.0" +## ⬆ = "4.4.0" logback-classic = "1.2.10" +## ⬆ = "1.2.11" +## ⬆ = "1.3.0" +## ⬆ = "1.3.1" +## ⬆ = "1.3.2" +## ⬆ = "1.3.3" +## ⬆ = "1.3.4" +## ⬆ = "1.4.0" +## ⬆ = "1.4.1" +## ⬆ = "1.4.2" +## ⬆ = "1.4.3" +## ⬆ = "1.4.4" loki-logback-appender = "1.3.1" +## ⬆ = "1.3.2" micrometer-registry-prometheus = "1.8.1" +## ⬆ = "1.8.2" +## ⬆ = "1.8.3" +## ⬆ = "1.8.4" +## ⬆ = "1.8.5" +## ⬆ = "1.8.6" +## ⬆ = "1.8.7" +## ⬆ = "1.8.8" +## ⬆ = "1.8.9" +## ⬆ = "1.8.10" +## ⬆ = "1.8.11" +## ⬆ = "1.9.0" +## ⬆ = "1.9.1" +## ⬆ = "1.9.2" +## ⬆ = "1.9.3" +## ⬆ = "1.9.4" +## ⬆ = "1.9.5" slf4j = "1.7.32" +## ⬆ = "1.7.33" +## ⬆ = "1.7.34" +## ⬆ = "1.7.35" +## ⬆ = "1.7.36" +## ⬆ = "2.0.0" +## ⬆ = "2.0.1" +## ⬆ = "2.0.2" +## ⬆ = "2.0.3" # See https://github.com/JetBrains/kotlin-wrappers kotlin-react = "17.0.2-pre.266-kotlin-1.6.0" +## ⬆ = "17.0.2-pre.280-kotlin-1.6.0" +## ⬆ = "17.0.2-pre.323-kotlin-1.6.10" +## ⬆ = "18.0.0-pre.325-kotlin-1.6.10" +## ⬆ = "18.0.0-pre.331-kotlin-1.6.20" +## ⬆ = "18.0.0-pre.332-kotlin-1.6.21" +## ⬆ = "18.2.0-pre.426" kotlin-reactRedux = "7.2.6-pre.266-kotlin-1.6.0" +## ⬆ = "7.2.6-pre.280-kotlin-1.6.0" +## ⬆ = "7.2.6-pre.325-kotlin-1.6.10" +## ⬆ = "7.2.6-pre.331-kotlin-1.6.20" +## ⬆ = "7.2.6-pre.332-kotlin-1.6.21" +## ⬆ = "7.2.6-pre.426" kotlin-reactRouterDom = "5.3.0-pre.266-kotlin-1.6.0" +## ⬆ = "5.3.0-pre.267-kotlin-1.6.0" +## ⬆ = "6.0.2-pre.279-kotlin-1.6.0" +## ⬆ = "6.1.1-pre.280-kotlin-1.6.0" +## ⬆ = "6.1.1-pre.282-kotlin-1.6.10" +## ⬆ = "6.2.1-pre.322-kotlin-1.6.10" +## ⬆ = "6.2.2-pre.324-kotlin-1.6.10" +## ⬆ = "6.3.0-pre.325-kotlin-1.6.10" +## ⬆ = "6.3.0-pre.326-kotlin-1.6.20" +## ⬆ = "6.3.0-pre.332-kotlin-1.6.21" +## ⬆ = "6.3.0-pre.426" kotlin-styled = "5.3.3-pre.266-kotlin-1.6.0" +## ⬆ = "5.3.3-pre.280-kotlin-1.6.0" +## ⬆ = "5.3.3-pre.322-kotlin-1.6.10" +## ⬆ = "5.3.5-pre.325-kotlin-1.6.10" +## ⬆ = "5.3.5-pre.331-kotlin-1.6.20" +## ⬆ = "5.3.5-pre.332-kotlin-1.6.21" +## ⬆ = "5.3.6-pre.426" kotlin-blueprintjs-core = "3.49.1-4" kotlin-blueprintjs-icons = "3.29.0-4" +## ⬆ = "3.42.0-2" [libraries] + kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } kotlinx-coroutines-reactor = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-reactor", version.ref = "kotlinx-coroutines" } kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization" } 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 + } +} diff --git a/versions.properties b/versions.properties new file mode 100644 index 00000000..f7ea1f1a --- /dev/null +++ b/versions.properties @@ -0,0 +1,10 @@ +#### Dependencies and Plugin versions with their available updates. +#### Generated by `./gradlew refreshVersions` version 0.51.0 +#### +#### Don't manually edit or split the comments that start with four hashtags (####), +#### they will be overwritten by refreshVersions. +#### +#### suppress inspection "SpellCheckingInspection" for whole file +#### suppress inspection "UnusedProperty" for whole file +#### +#### NOTE: Some versions are filtered by the rejectVersionsIf predicate. See the settings.gradle.kts file. -- cgit