Skip to content

Postgres TestContainers internal (located in `buildSrc`) Gradle plugin, written in Kotlin using Gradle Kotlin DSL

License

Notifications You must be signed in to change notification settings

daggerok/postgres-testcontainers-gradle-plugin

Repository files navigation

postgres-testcontainers-gradle-plugin

Postgres TestContainers internal (located in buildSrc) Gradle plugin, written in Kotlin using Gradle Kotlin DSL

plugin usage

plugins {
  postgres
}

postgres {
  db = "my-db"
  user = "my-user"
  password = "secret"
  ports = "15432:5432"
  name = "testing"
}

pgInfo

./gradlew pgInfo
# output
> Task :pgInfo
PostgresConfig(db=my-db, user=my-user, password=secret, ports=15432:5432, name=testing)

pgStart

./gradlew pgStart
# output
> Task :pgStart
started a49df6f25e1ab58207aac6da855223473d440b752d21e87dc1fa1f612c67aa08 as testing

pgStop

./gradlew pgStop
# output
> Task :pgStop
a49df6f25e1a

resources

About

Postgres TestContainers internal (located in `buildSrc`) Gradle plugin, written in Kotlin using Gradle Kotlin DSL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published