Skip to content

Commit

Permalink
Adopt setExportDatatables(true) for Gradle to support .kts too (#141)
Browse files Browse the repository at this point in the history
* Adopt `exportDatatables(true)` for Gradle to support .kts too

Fixes openrewrite/rewrite-spring#618

* Use `setExportDatatables(set)` instead, as indicated
  • Loading branch information
timtebeek authored Nov 12, 2024
1 parent e295c1f commit 7321b36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ import TabItem from '@theme/TabItem';
rewrite {
activeRecipe("$exampleRecipeName")
exportDatatables = true
setExportDatatables(true)
}
repositories {
Expand Down Expand Up @@ -1606,7 +1606,7 @@ $cliSnippet
rewrite {
activeRecipe("$exampleRecipeName")
exportDatatables = true
setExportDatatables(true)
}
repositories {
Expand Down Expand Up @@ -1695,7 +1695,7 @@ $cliSnippet
rewrite {
activeRecipe("${recipeDescriptor.name}")
exportDatatables = true
setExportDatatables(true)
}
repositories {
Expand Down Expand Up @@ -1724,7 +1724,7 @@ $cliSnippet
}
rewrite {
activeRecipe("${recipeDescriptor.name}")
exportDatatables = true
setExportDatatables(true)
}
afterEvaluate {
if (repositories.isEmpty()) {
Expand Down Expand Up @@ -1822,7 +1822,7 @@ $cliSnippet
rewrite {
activeRecipe("${recipeDescriptor.name}")
exportDatatables = true
setExportDatatables(true)
}
repositories {
Expand Down Expand Up @@ -1855,7 +1855,7 @@ $cliSnippet
}
rewrite {
activeRecipe("${recipeDescriptor.name}")
exportDatatables = true
setExportDatatables(true)
}
afterEvaluate {
if (repositories.isEmpty()) {
Expand Down

0 comments on commit 7321b36

Please sign in to comment.