Skip to content

Commit

Permalink
Merge pull request #571 from dnestoro/dnestoro/FixKotlinSnippet
Browse files Browse the repository at this point in the history
Fix Kotlin Snippet For Disabling Metadata Repository
  • Loading branch information
dnestoro authored Feb 6, 2024
2 parents 36b88aa + 60304c8 commit 3dbd0af
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 3dbd0af

Please sign in to comment.