Gradle plugin that lets you generate database documentation using Schemaspy and Testcontainers
- Add dependency:
id("io.github.denis-markushin.schemaspy-plugin")
- Configure the plugin using extension.
schemaspyConfig { dbName = "my_database" liquibaseChangelog = file("/path/to/file.yml") excludeTables = "(table1|table2)" outputDir = project.layout.buildDirectory.dir("schemaspy/sakila").get() }
- Execute gradle
generateSchemaspyDocs
task:gradle generateSchemaspyDocs
- Get output in gradle
build/schemaspy/db/output
folder. That`s it!
Feel free to open an issue or submit a pull request for any bugs/improvements.
This project is licensed under the MIT License - see the License file for details.