From f885dc033a00d895fc5a3d59bb01231bef01a55e Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 10 Feb 2023 11:55:52 +0100 Subject: [PATCH] docs(kotlin-script): remove metadata, rewrite (#20192) Co-authored-by: Rhys Arkins <rhys@arkins.net> --- lib/modules/manager/kotlin-script/readme.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/modules/manager/kotlin-script/readme.md b/lib/modules/manager/kotlin-script/readme.md index e227cd5a83..e422ed4ba3 100644 --- a/lib/modules/manager/kotlin-script/readme.md +++ b/lib/modules/manager/kotlin-script/readme.md @@ -1,11 +1,6 @@ ---- -title: Kotlin Script dependency versions -description: Kotlin Script dependency versions support in Renovate ---- - Renovate supports upgrading dependencies in [Kotlin Script](https://github.com/Kotlin/KEEP/blob/master/proposals/scripting-support.md) files. -These are self-contained scripts where one can write Kotlin code with JVM backend, and compilation happens when the -scripts are ran. For example: +Read the [Kotlin Script docs](https://kotlinlang.org/docs/custom-script-deps-tutorial.html) to learn more. +For example: ```kotlin #!/usr/bin/env kotlin @@ -19,9 +14,10 @@ println("Hello world!") // ... ``` -By default, Renovate scans files only with `.main.kts` extension and not `.kts`, to avoid ambiguity with Gradle config -files that have `.gradle.kts` extension. As there are cases where just `.kts` extension or no extension is used, -Renovate can be [configured](https://docs.renovatebot.com/configuration-options/) to scan also these: +By default, Renovate only scans files with the `.main.kts` extension and not `.kts`. +This way Renovate avoids ambiguity with Gradle config files that use the `.gradle.kts` extension. + +If you want to manage other Kotlin Script files, you may use the `fileMatch` config option to let Renovate update these files: ```json { -- GitLab