{"id":23478254,"url":"https://github.com/willis7/dbdeploy-gradle-plugin","last_synced_at":"2025-07-10T01:03:10.131Z","repository":{"id":15964872,"uuid":"18707553","full_name":"willis7/dbdeploy-gradle-plugin","owner":"willis7","description":"This is the source migrated from SVN to Git. Includes a Gradle Plugin for DbDeploy","archived":false,"fork":false,"pushed_at":"2021-08-02T16:59:21.000Z","size":140,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T17:59:33.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"usgs/asl-manzano","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willis7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-12T15:41:24.000Z","updated_at":"2021-02-04T11:09:45.000Z","dependencies_parsed_at":"2022-08-04T05:15:19.393Z","dependency_job_id":null,"html_url":"https://github.com/willis7/dbdeploy-gradle-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willis7/dbdeploy-gradle-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willis7%2Fdbdeploy-gradle-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willis7%2Fdbdeploy-gradle-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willis7%2Fdbdeploy-gradle-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willis7%2Fdbdeploy-gradle-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willis7","download_url":"https://codeload.github.com/willis7/dbdeploy-gradle-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willis7%2Fdbdeploy-gradle-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506772,"owners_count":23619063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T19:18:26.991Z","updated_at":"2025-07-10T01:03:10.084Z","avatar_url":"https://github.com/willis7.png","language":"Java","readme":"# Gradle DbDeploy plugin\n\n![Database Logo](http://builddoctorprod.files.wordpress.com/2010/01/75294154_24824e3395_m.jpg)\n\nThis plugin is a direct port from the Ant and Maven equivalents found at the [dbdeploy website](https://code.google.com/p/dbdeploy/wiki/GettingStarted)\n\ndbdeploy is a Database Change Management tool. It’s for developers or DBAs who want to evolve their database design - or refactor their database -\nin a simple, controlled, flexible and frequent manner.\n\n## Build Status\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n[![Build Status](https://travis-ci.org/willis7/dbdeploy-gradle-plugin.svg?branch=master)](https://travis-ci.org/willis7/dbdeploy-gradle-plugin)\n\n## Usage\n\nTo use the plugin, configure your `build.gradle` script and add the plugin:\n```groovy\n    buildscript {\n        repositories {\n            mavenCentral()\n            maven { url 'http://dl.bintray.com/sion5/gradle-plugins/' }\n        }\n        dependencies {\n            classpath 'org.gradle.api.plugins.dbdeploy:DbDeployPlugin:VERSION'\n        }\n    }\n    apply plugin: 'dbdeploy'\n```\n\n# Tasks\nThe plugin adds 3 tasks to your project; `dbScripts`, `changeScript` and `update`.\n\n## Configuration\n\n### build.gradle\n```groovy\n    dbdeploy {\n            scriptdirectory = new File('.')\n            driver = 'org.hsqldb.jdbcDriver'\n            url = 'jdbc:hsqldb:file:db/testdb;shutdown=true'\n            password = ''\n            userid = 'sa'\n    }\n```\n\n## Task properties\n### generic properties\n\n* `scriptdirectory` : Full or relative path to the directory containing the delta scripts.\n* `encoding` : Encoding to use for change scripts and output files.\n* `driver` : Specifies the jdbc driver.\n* `url` : Specifies the url of the database that the deltas are to be applied to.\n* `password` : The password of the dbms user who has permissions to select from the schema version table.\n* `userid` : The ID of a dbms user who has permissions to select from the schema version table.\n* `changeLogTableName` : The name of the changelog table to use.\n* `delimiter` : Delimiter to use to separate scripts into statements, if dbdeploy will apply the scripts for you \n                i.e. you haven't specified outputfile. Default ;\n* `delimiterType` : Either normal: split on delimiter wherever it occurs or row  only split\n                    on delimiter if it features on a line by itself. Default normal.\n* `lineEnding` : Line ending to separate indiviual statement lines when applying directly\n                 to the database. Can be platform (the default line ending for the current platform),\n                 cr, crlf or lf. Default platform.\n* `lastChangeToApply` : The highest numbered delta script to apply.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillis7%2Fdbdeploy-gradle-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillis7%2Fdbdeploy-gradle-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillis7%2Fdbdeploy-gradle-plugin/lists"}