Nouran
08/18/2025, 6:17 PMOleg Nenashev
08/19/2025, 6:45 AMNouran
08/19/2025, 9:07 AMOleg Nenashev
08/19/2025, 9:08 AMNouran
08/19/2025, 12:31 PMRafael Chaves
08/19/2025, 3:26 PM1. The liquibase core dependency changed fromhttps://github.com/liquibase/liquibase-gradle-plugin/pull/176#issuecomment-3198592070 Basically, we want the TestKit test to be able to have liquibase-core in its classpath.tocompileOnly. What was the reason for this change? We originally used compileOnly so the plugin wouldn't be tied to any specific version of Liquibase.implementation
Rafael Chaves
08/19/2025, 3:29 PMRodrigo Oliveira
08/19/2025, 3:30 PMtestImplementation dependency enough?Rafael Chaves
08/19/2025, 3:32 PMNoClassDefFoundErrorRafael Chaves
08/19/2025, 3:32 PMCNFE, unsure now)Rafael Chaves
08/19/2025, 3:35 PMNCDFE, confirmedRafael Chaves
08/19/2025, 3:36 PMcompileOnly "org.liquibase:liquibase-core:${liquibaseCoreVersion}"
testImplementation "org.liquibase:liquibase-core:${liquibaseCoreVersion}"
Still get a NCDFERafael Chaves
08/19/2025, 3:36 PMtestImplementation leads to compilation errors of the base codeRodrigo Oliveira
08/19/2025, 3:36 PMcompileOnly was there before so it's neededRodrigo Oliveira
08/19/2025, 3:37 PMwithPluginClasspath 🤔
What about testRuntime?Rafael Chaves
08/19/2025, 3:37 PMRafael Chaves
08/19/2025, 3:38 PMtestRuntime then. EDIT: wait, you meant testRuntimeOnly? That does exist in 7.6, but is not sufficient to compile the test code.Rafael Chaves
08/19/2025, 3:46 PMtestRuntimeOnly dependency as a file collection and pass to GradleRunner.withPluginClasspath(...) ?Rafael Chaves
08/19/2025, 3:47 PMRafael Chaves
08/19/2025, 3:49 PMGradleRunner.withPluginClasspath()Rafael Chaves
08/19/2025, 4:04 PMNouran
08/19/2025, 7:32 PMNouran
08/19/2025, 7:33 PMRafael Chaves
08/19/2025, 8:10 PMRafael Chaves
08/19/2025, 8:11 PM@Test annotation, and drop the spock special blocksRafael Chaves
08/19/2025, 8:12 PMNouran
08/19/2025, 8:15 PMRafael Chaves
08/19/2025, 8:16 PMNouran
08/19/2025, 8:17 PMNouran
08/19/2025, 8:18 PMRafael Chaves
08/19/2025, 8:18 PMNouran
08/19/2025, 8:19 PMRafael Chaves
08/19/2025, 8:25 PMRafael Chaves
08/19/2025, 8:25 PMNouran
08/19/2025, 8:31 PMNouran
08/19/2025, 8:32 PMRafael Chaves
08/19/2025, 8:33 PMRafael Chaves
08/20/2025, 4:49 PMRafael Chaves
08/20/2025, 5:36 PMArgumentBuilder , however it shows a bug in the way we handle liquibaseChangelogParameters - they are effectively being lost.
Here is the place we are filtering out that property:
https://github.com/Nouran-11/liquibase-gradle-plugin/commit/a373da7b511d19d72c2d2c57fee66ed8e4336923#diff-4b107d242c438a018[…]fa2d08f6fb363b7R10-R31Rafael Chaves
08/20/2025, 5:37 PMNouran
08/20/2025, 6:58 PMliquibaseChangelogParameters , I was waiting to confirm from the author about it , as I am not sure If I am handling the cases properly or they are doing it in different wayRafael Chaves
08/20/2025, 7:09 PMRafael Chaves
08/20/2025, 7:09 PMNouran
08/20/2025, 7:19 PMRafael Chaves
08/20/2025, 8:01 PMRafael Chaves
08/20/2025, 8:01 PMRafael Chaves
08/20/2025, 8:02 PMRafael Chaves
08/21/2025, 12:07 AMmaster - was that the right branch?Nouran
08/21/2025, 2:40 AMRafael Chaves
08/21/2025, 12:54 PMNouran
08/21/2025, 8:01 PMNouran
08/21/2025, 8:01 PMNouran
08/21/2025, 8:02 PMNouran
08/21/2025, 8:06 PMNouran
08/21/2025, 8:29 PMNouran
08/21/2025, 8:30 PMNouran
08/21/2025, 8:33 PMNouran
08/21/2025, 8:38 PMNouran
08/21/2025, 8:47 PMcreateChangelogParamMap()Nouran
08/21/2025, 8:58 PMRafael Chaves
08/21/2025, 9:01 PMNouran
08/21/2025, 9:02 PMNouran
08/21/2025, 9:48 PM