Skip to content

Commit

Permalink
Fix kotlin snippet for disabling the metadata repository
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Feb 6, 2024
1 parent 36b88aa commit 60304c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/docs/asciidoc/gradle-plugin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ include::../snippets/gradle/groovy/build.gradle[tags=disable-metadata-repository

[source, kotlin, role="multi-language-sample"]
----
include::../snippets/gradle/kotlin/build.gradle.kts[tags=enable-metadata-repository]
include::../snippets/gradle/kotlin/build.gradle.kts[tags=disable-metadata-repository]
----

A metadata repository consists of configuration files for GraalVM.
Expand Down
6 changes: 3 additions & 3 deletions docs/src/docs/snippets/gradle/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ graalvmNative {
}
// end::custom-binary[]

// tag::enable-metadata-repository[]
// tag::disable-metadata-repository[]
graalvmNative {
metadataRepository {
enabled.set(true)
enabled.set(false)
}
}
// end::enable-metadata-repository[]
// end::disable-metadata-repository[]

// tag::specify-metadata-repository-version[]
graalvmNative {
Expand Down

0 comments on commit 60304c8

Please sign in to comment.