From 6aa87c066cd0a87269df346d6770453997bd67ab Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Mon, 3 Jul 2023 17:49:44 +0200 Subject: Prevent the creation of empty versions.properties files --- settings.gradle.kts | 1 + versions.properties | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 versions.properties diff --git a/settings.gradle.kts b/settings.gradle.kts index 2622429c..e6e6e4e2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -51,6 +51,7 @@ fun BuildScanExtension.addGithubActionsData() { } refreshVersions { + versionsPropertiesFile = file("build/tmp/refreshVersions/versions.properties").apply { parentFile.mkdirs() } rejectVersionIf { candidate.stabilityLevel != StabilityLevel.Stable || "-alpha" in candidate.value || "-beta" in candidate.value } diff --git a/versions.properties b/versions.properties deleted file mode 100644 index f7ea1f1a..00000000 --- a/versions.properties +++ /dev/null @@ -1,10 +0,0 @@ -#### 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