diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2023-07-03 17:49:44 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2023-07-05 15:59:53 +0200 |
commit | 6aa87c066cd0a87269df346d6770453997bd67ab (patch) | |
tree | 7bcc9a3446376230a9144bce0db06652979271d5 | |
parent | Format libs.versions.toml (diff) | |
download | seven-wonders-6aa87c066cd0a87269df346d6770453997bd67ab.tar.gz seven-wonders-6aa87c066cd0a87269df346d6770453997bd67ab.tar.bz2 seven-wonders-6aa87c066cd0a87269df346d6770453997bd67ab.zip |
Prevent the creation of empty versions.properties files
-rw-r--r-- | settings.gradle.kts | 1 | ||||
-rw-r--r-- | versions.properties | 10 |
2 files changed, 1 insertions, 10 deletions
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. |