Skip to content

Commit

Permalink
add Maven dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nilswende committed Sep 8, 2023
1 parent be4185e commit 30deca9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
Database Markup Language (DBML), designed to define and document database structures.
See the [original repository](https://github.com/holistics/dbml).

Written in Java 17.
Using Java 17.

Example usage:
```java
import com.wn.dbml.compiler.lexer.LexerImpl;
import com.wn.dbml.compiler.parser.ParserImpl;
import com.wn.dbml.model.Database;

public class Example {
class Example {
public static void main(String[] args) {
var dbml = """
Table table1 {
Expand All @@ -26,3 +26,12 @@ public class Example {
}
}
```

Maven dependency:
```xml
<dependency>
<groupId>io.github.nilswende</groupId>
<artifactId>dbml-java</artifactId>
<version>1.0.0</version>
</dependency>
```

0 comments on commit 30deca9

Please sign in to comment.