From a0e87d661b1da7676986ddab39dde41b85e9d2b1 Mon Sep 17 00:00:00 2001 From: Jaroslav Kostal Date: Mon, 24 Apr 2023 23:10:12 +0200 Subject: [PATCH] Fixes #304 by removing deprecated setting `resourceAccessor` on `GroovyChange` --- .../plugins/databasemigration/liquibase/GroovyChange.groovy | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/groovy/org/grails/plugins/databasemigration/liquibase/GroovyChange.groovy b/src/main/groovy/org/grails/plugins/databasemigration/liquibase/GroovyChange.groovy index af0e3137..ea211e14 100644 --- a/src/main/groovy/org/grails/plugins/databasemigration/liquibase/GroovyChange.groovy +++ b/src/main/groovy/org/grails/plugins/databasemigration/liquibase/GroovyChange.groovy @@ -88,8 +88,6 @@ class GroovyChange extends AbstractChange { @Override void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException { - this.resourceAccessor = resourceAccessor - ctx = parsedNode.getChildValue(null, 'applicationContext', ApplicationContext) dataSourceName = parsedNode.getChildValue(null, DATA_SOURCE_NAME_KEY, String) initClosure = parsedNode.getChildValue(null, 'init', Closure)