Skip to content

Commit

Permalink
Added Kotlin DSL example and badges (#38)
Browse files Browse the repository at this point in the history
* Added example with Kotlin DSL and updated version

* Added badges
  • Loading branch information
mfvanek authored Oct 7, 2023
1 parent c5829cb commit 2aaa43e
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ connection drops, and overcome the shortcoming of the
Running `liquibase releaseLocks` in a micro-service production environment
may not be really feasible.

[![Java CI with Gradle](https://github.com/blagerweij/liquibase-sessionlock/actions/workflows/ci.yml/badge.svg)](https://github.com/blagerweij/liquibase-sessionlock/actions/workflows/ci.yml "Java CI with Gradle")
[![Maven Central](https://img.shields.io/maven-central/v/com.github.blagerweij/liquibase-sessionlock.svg)](https://search.maven.org/artifact/com.github.blagerweij/liquibase-sessionlock/ "Maven Central")
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/blagerweij/liquibase-sessionlock/blob/master/LICENSE "Apache License 2.0")

## Supported Databases

- MySQL
Expand Down Expand Up @@ -59,11 +63,21 @@ In Liquibase v3.7.x and above, especially when used standalone or integrated wit
<dependency>
<groupId>com.github.blagerweij</groupId>
<artifactId>liquibase-sessionlock</artifactId>
<version>1.6.0</version>
<version>1.6.5</version>
</dependency>
```
### Gradle
`implementation 'com.github.blagerweij:liquibase-sessionlock:1.6.0'`
```groovy
implementation 'com.github.blagerweij:liquibase-sessionlock:1.6.5'
```

<details>
<summary>with Kotlin DSL</summary>

```kotlin
implementation("com.github.blagerweij:liquibase-sessionlock:1.6.5")
```
</details>

## Disclaimer

Expand Down

0 comments on commit 2aaa43e

Please sign in to comment.