Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
f885dc03
Unverified
Commit
f885dc03
authored
2 years ago
by
HonkingGoose
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs(kotlin-script): remove metadata, rewrite (#20192)
Co-authored-by:
Rhys Arkins
<
rhys@arkins.net
>
parent
a91ca62b
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/manager/kotlin-script/readme.md
+6
-10
6 additions, 10 deletions
lib/modules/manager/kotlin-script/readme.md
with
6 additions
and
10 deletions
lib/modules/manager/kotlin-script/readme.md
+
6
−
10
View file @
f885dc03
---
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.
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
Read the
[
Kotlin Script docs
](
https://kotlinlang.org/docs/custom-script-deps-tutorial.html
)
to learn more.
scripts are ran.
For example:
For example:
```
kotlin
```
kotlin
#
!/
usr
/
bin
/
env
kotlin
#
!/
usr
/
bin
/
env
kotlin
...
@@ -19,9 +14,10 @@ println("Hello world!")
...
@@ -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
By default, Renovate only scans files with the
`.main.kts`
extension and not
`.kts`
.
files that have
`.gradle.kts`
extension. As there are cases where just
`.kts`
extension or no extension is used,
This way Renovate avoids ambiguity with Gradle config files that use the
`.gradle.kts`
extension.
Renovate can be
[
configured
](
https://docs.renovatebot.com/configuration-options/
)
to scan also these:
If you want to manage other Kotlin Script files, you may use the
`fileMatch`
config option to let Renovate update these files:
```
json
```
json
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment