liquibase / liquibase-gradle-plugin

A Gradle plugin for Liquibase
Other
197 stars 57 forks source link

Java 19 #142

Closed vicmosin closed 2 months ago

vicmosin commented 2 months ago

While trying to inject code-based migration (i.e. customChange) I am getting:

Unexpected error running Liquibase: com/persistence/migration/Migration131 has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 61.0

We are using java 19 but apparently either liquibase or gradle plugin uses 17, not sure to which project it leads. I did also try with recent liquibase-core version which is 4.27.0 for now.

Would be happy to get some feedback or thoughts how we can workaround it, thnx