JetBrains / package-search-gradle-plugins

Gradle plugins for Docker, Terraform and Liquibase.
Apache License 2.0
32 stars 7 forks source link

Liquibase plugin throws error while creating tasks #27

Open vijay94 opened 8 months ago

vijay94 commented 8 months ago
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 commented 8 months ago

@lamba92 @hfhbd @Tender2233 @bigdaz Any help would be appreciated.

hfhbd commented 8 months ago

Please don't randomly tag some people, creating an issue is enough, and it will processed by the responsible persons.

Also, I can tell you that your error message is not helpful. Without the full error message and the whole build.gradle file or even a reproducer your error can only be guessed.