Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomix26 committed May 30, 2021
1 parent 807d9cd commit dc23c88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the following Maven dependency:
<dependency>
<groupId>io.zonky.test</groupId>
<artifactId>embedded-postgres</artifactId>
<version>1.2.6</version>
<version>1.2.10</version>
<scope>test</scope>
</dependency>
```
Expand Down Expand Up @@ -79,7 +79,7 @@ The default version of the embedded postgres is `PostgreSQL 10.11`, but it can b
<dependency>
<groupId>io.zonky.test.postgres</groupId>
<artifactId>embedded-postgres-binaries-bom</artifactId>
<version>11.6.0</version>
<version>13.2.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -97,15 +97,15 @@ The default version of the embedded postgres is `PostgreSQL 10.11`, but it can b
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'io.zonky.test.postgres') {
details.useVersion '11.6.0'
details.useVersion '13.2.0'
}
}
}

2. If you use Gradle 5+, [Maven BOMs are supported out of the box](https://docs.gradle.org/5.0/userguide/managing_transitive_dependencies.html#sec:bom_import), so you can import the bom:

dependencies {
implementation enforcedPlatform('io.zonky.test.postgres:embedded-postgres-binaries-bom:11.6.0')
implementation enforcedPlatform('io.zonky.test.postgres:embedded-postgres-binaries-bom:13.2.0')
}

3. Or, you can use [Spring's dependency management plugin](https://docs.spring.io/dependency-management-plugin/docs/current/reference/html/#dependency-management-configuration-bom-import) that provides Maven-like dependency management to Gradle:
Expand All @@ -116,7 +116,7 @@ The default version of the embedded postgres is `PostgreSQL 10.11`, but it can b
dependencyManagement {
imports {
mavenBom 'io.zonky.test.postgres:embedded-postgres-binaries-bom:11.6.0'
mavenBom 'io.zonky.test.postgres:embedded-postgres-binaries-bom:13.2.0'
}
}

Expand Down
8 changes: 2 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,12 @@
</licenses>

<developers>
<developer>
<name>Roman Pichlik</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Tomas Vanek</name>
<email>[email protected]</email>
<email>[email protected]</email>
</developer>
<developer>
<name>Developers Zonky</name>
<name>Zonky Developers</name>
<email>[email protected]</email>
</developer>
</developers>
Expand Down

0 comments on commit dc23c88

Please sign in to comment.