Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

itbasis/postgresql-embedded-gradle-plugin

Repository files navigation

PostgreSQL Embedded Server Gradle plugin

Build status Build status

A plugin that adds the ability to start/stop Embedded PostgreSQL Server while executing Gradle tasks. After the server is started, environment variables are added to all dependent tasks of the JavaForkOptions type with the description of the running server.

apply plugin: https://plugins.gradle.org/plugin/ru.itbasis.gradle.plugins.postgresql-embedded-gradle-plugin

Environment & System environment

Java example, Spring properties example

default names
POSTGRES_HOST
POSTGRES_PORT
POSTGRES_DB_NAME
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_JDBC

Extension properties

source

parameter default value
version PRODUCTION
host localhost
port 0 (find free port)
dbName postgres
user postgres
password postgres
addParams (empty list)
runtimeConfig view source code
environmentNames view source code

Examples

TODO

  • append multiple instance

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published