org.liquibase.gradle.LiquibaseOptions.groovy.bak Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-gradle-plugin Show documentation
Show all versions of liquibase-gradle-plugin Show documentation
A Gradle plugin for running the Liquibase database upgrade tool.
package org.liquibase.gradle
/**
* Created with IntelliJ IDEA.
* User: steve
* Date: 10/22/22
* Time: 8:19 AM
* To change this template use File | Settings | File Templates.
*
* @author Steven C. Saliman
*/
class LiquibaseOptions {
// c: = command arg instead of global.
def opts = [
[l: 'changeExecListenerClass', c: true],
[l: 'changeExecListenerPropertiesFile', c: true],
[l: 'changeLogFile', o: 'changelog-file', c: true], // changelog-file?
// [l: 'changeLogParameters' ],
// [l: 'changeSetAuthor', c: true],
// [l: 'changeSetContext', c: true],
[l: 'changeSetId', o: 'changeset-identifier'], // not a field
// [l: 'changeSetPath'], // not a field
// [l: 'classLoader' ],
[l: 'classpath' ],
// [l: 'command' ],
// [l: 'commandParams' ],
[l: 'contexts', c: true],
// [l: 'currentDateTimeFunction' ],
[l: 'dataOutputDirectory', c: true],
[l: 'databaseChangeLogLockTableName', o:'database-changelog-lock-table-name'],
[l: 'databaseChangeLogTableName', o:'database-changelog-table-name'],
// [l: 'databaseChangeLogTablespaceName' ],
[l: 'databaseClass'],
[l: 'defaultCatalogName', c: true],
[l: 'defaultSchemaName', c: true],
[l: 'defaultsFile'],
[l: 'delimiter', c: true],
// [l: 'deploymentId'], // not a field
[l: 'diffTypes', c: true],
[l: 'driver'], // command?
[l: 'driverPropertiesFile'], // command?
[l: 'excludeObjects', c: true],
// [l: 'force'], // not a field
// [l: 'format'], // not a field
[l: 'help'], // not a field
[l: 'hubConnectionId', c: true],
[l: 'hubProjectId', c: true],
// [l: 'includeCatalog', c: true],
[l: 'includeObjects', c: true],
// [l: 'includeSchema', c: true],
[l: 'includeSystemClasspath'],
// [l: 'includeTablespace', c: true],
[l: 'labels', c: true],
[l: 'liquibaseCatalogName'],
[l: 'liquibaseHubApiKey', o: 'hub-api-key'],
[l: 'liquibaseHubUrl', o: 'hub-url'],
[l: 'liquibaseProLicenseKey', o: 'pro-license-key'],
// [l: 'liquibaseProLicenseValid' ],
[l: 'liquibaseSchemaName'],
[l: 'logFile'],
[l: 'logLevel'],
// [l: 'managingLogConfig' ],
[l: 'overwriteOutputFile', c: true],
// [l: 'outputDefaultCatalog', c: true],
// [l: 'outputDefaultSchema', c: true],
[l: 'outputFile'],
// [l: 'outputSchemasAs', c: true],
// [l: 'outputsLogMessages' ],
[l: 'password', c: true],
[l: 'promptForNonLocalDatabase'],
[l: 'propertyProviderClass'],
[l: 'referenceDefaultCatalogName', c: true],
[l: 'referenceDefaultSchemaName', c: true],
// [l: 'referenceDriver', c: true ],
[l: 'referencePassword', c: true],
// [l: 'referenceSchemas', c: true],
[l: 'referenceUrl', c: true],
[l: 'referenceUsername', c: true],
[l: 'rollbackScript', c: true],
[l: 'schemas', c: true],
[l: 'snapshotFormat', c: true],
[l: 'sqlFile', c: true],
[l: 'strict' ],
[l: 'url', c: true],
[l: 'username', c: true],
[l: 'verbose'], // not a field
[l: 'version'] // not a field
]
}