Skip to content

fix Gradle plugin configuration syntax in documentation#3588

Merged
DoodleBobBuffPants merged 1 commit intoflyway:mainfrom
halcyon22:main
Dec 23, 2022
Merged

fix Gradle plugin configuration syntax in documentation#3588
DoodleBobBuffPants merged 1 commit intoflyway:mainfrom
halcyon22:main

Conversation

@halcyon22
Copy link
Contributor

I encountered errors using the postgresqlTransactionalLock example using Gradle 6.8.3 and 7.4, so this corrects the syntax for all similar examples that I could find.

In "documentation/Flyway CLI and API/Configuration/Parameters/PostgreSQL Transactional Lock.md", without the change to line 42, Gradle is unable to compile the build script, reporting:

You tried to use a map entry for an index operation, this is not allowed. Maybe something should be set in parentheses or a comma is missing?

Without the change to line 43, the flywayMigrate task fails with:

class java.lang.Boolean cannot be cast to class java.lang.String (java.lang.Boolean and java.lang.String are in module java.base of loader 'bootstrap')

@CLAassistant
Copy link

CLAassistant commented Dec 22, 2022

CLA assistant check
All committers have signed the CLA.

@DoodleBobBuffPants
Copy link
Contributor

Thanks for the PR!

@DoodleBobBuffPants DoodleBobBuffPants merged commit 71ab829 into flyway:main Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants