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 + 1 file changed, 1 insertion(+) (limited to 'settings.gradle.kts') 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 } -- cgit