package-search-gradle-plugins icon indicating copy to clipboard operation
package-search-gradle-plugins copied to clipboard

Liquibase plugin throws error while creating tasks

Open vijay94 opened this issue 1 year ago • 2 comments

NamedDomainObjectContainer#create(String) on Activity container cannot be executed in the current context.

Could not create domain object 'stage' (Activity)

I am getting this error with the below cofiguration.

liquibase {
    activities {
        register('stage') {
            arguments["changeLogFile"] = CHANGE_LOG_FILE
            arguments["url"] = DB_URL
            arguments["username"] = DB_USER_NAME
            arguments["password"] = DB_PASSWORD
            arguments["driver"] = "com.mysql.jdbc.Driver"
        }
    }
}

vijay94 avatar Oct 31 '23 10:10 vijay94