From 4bb70114c8a1767e4d3d251c54e34f584051be94 Mon Sep 17 00:00:00 2001 From: Jean-Michel Fayard Date: Tue, 3 Aug 2021 17:20:46 +0200 Subject: [PATCH] Prepare for release 0.11.0 --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 23 +++++++++++++++++++++++ Releasing.main.kts | 2 +- mkdocs.yml | 4 ++-- ongoing_release.tmp.properties | 4 ++++ plugins/version.txt | 2 +- 6 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 ongoing_release.tmp.properties diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d95acb56..592dabbeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Change log for refreshVersions +## Version 0.11.0 (2021-08-03) + +### New feature + +Add task **refreshVersionsMigrate** that adds all missing entries in versions.properties and try to migrate the `build.gradle(.kts)` and other known files like `libraries.gradle` so that the version placeholder `_` is used everywhere. Please [try it out and give us your feedback for refreshVersionsMigrate](https://github.com/jmfayard/refreshVersions/discussions/396) + +### Fixes + +- Plugins org.jetbrains.kotlinx.benchmark should not use key version.kotlin + +### New dependency notations + +- Ktor.features.serialization +- AndroidX.navigation.testing +- Testing.kotestExtensions who replaces Testing.kotest.extensions in Kotest >= 4.5.0 + + + ## Version 0.10.1 (2021-06-10) ### New features diff --git a/README.md b/README.md index aa7be445b..d7715a9c7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,29 @@ > Life is too short to google for dependencies and versions +### Usage + +```kotlin +// settings.gradle(.kts) +plugins { + // See https://jmfayard.github.io/refreshVersions + id("de.fayard.refreshVersions") version "0.11.0" +} + +refreshVersions { // Optional: configure the plugin + +} + +// Migrate project +./gradlew refreshVersionsMigrate + +// Find available updates in versions.properties +./gradlew refreshVersions + +// Cleanup versions availability comments +./gradlew refreshVersionsCleanup +``` + ### Documentation is at [jmfayard.github.io/refreshVersions](https://jmfayard.github.io/refreshVersions/) [![](https://raw.githubusercontent.com/jmfayard/refreshVersions/main/docs/img/screencast.png)](http://www.youtube.com/watch?v=VhYERonB8co "Gradle refreshVersions") diff --git a/Releasing.main.kts b/Releasing.main.kts index 62fdf3246..25ecbc136 100755 --- a/Releasing.main.kts +++ b/Releasing.main.kts @@ -7,7 +7,7 @@ @file:Repository("https://repo.maven.apache.org/maven2/") //@file:Repository("https://oss.sonatype.org/content/repositories/snapshots") //@file:Repository("file:///Users/louiscad/.m2/repository") -@file:DependsOn("com.louiscad.incubator:lib-publishing-helpers:0.1.4") +@file:DependsOn("com.louiscad.incubator:lib-publishing-helpers:0.2.1") import java.io.File import Releasing_main.ReleaseStep.* diff --git a/mkdocs.yml b/mkdocs.yml index 42922d28b..1aea970b8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -21,8 +21,8 @@ extra: slack: https://app.slack.com/client/T09229ZC6/CP5659EL9 version: gradle: 6.9 - refreshVersions: '0.10.1' - snapshot: '0.10.2-SNAPSHOT' + refreshVersions: '0.11.0' + snapshot: '0.11.1-SNAPSHOT' keyboard_shortcuts: find_actions: ctrl/cmd + shift + A diff --git a/ongoing_release.tmp.properties b/ongoing_release.tmp.properties new file mode 100644 index 000000000..e9036c484 --- /dev/null +++ b/ongoing_release.tmp.properties @@ -0,0 +1,4 @@ +#Tue Aug 03 17:20:46 CEST 2021 +currentStepName=Commit "prepare for release" and tag +versionBeforeRelease=0.10.2-SNAPSHOT +newVersion=0.11.0 diff --git a/plugins/version.txt b/plugins/version.txt index 41886963c..142464bf2 100644 --- a/plugins/version.txt +++ b/plugins/version.txt @@ -1 +1 @@ -0.10.2-SNAPSHOT \ No newline at end of file +0.11.0 \ No newline at end of file