Skip to content

Commit

Permalink
Better 'how to consume' description for P2/Tycho #10
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner committed Nov 2, 2023
1 parent 1f3f840 commit e1024c0
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ If you are using a predefined Ecore model (not generated), it will also be conve

#### How to consume

P2 Repository:
https://typefox.github.io/xtext2langium/download/updates/v0.4.0/
##### P2 Repository
Add the `https://typefox.github.io/xtext2langium/download/updates/v0.4.0/` update site to your `.target` file as an additional location.

```xml
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="io.typefox.xtext2langium" version="0.0.0"/>
<repository location="https://typefox.github.io/xtext2langium/download/updates/v0.4.0/"/>
</location>
```

##### Maven

Maven:
```xml
<dependency>
<groupId>io.typefox.xtext2langium</groupId>
Expand All @@ -22,8 +30,11 @@ Maven:
</dependency>
```

Gradle:
`io.typefox.xtext2langium:io.typefox.xtext2langium:0.4.0`
##### Gradle

```
io.typefox.xtext2langium:io.typefox.xtext2langium:0.4.0
```


#### How to use
Expand Down

0 comments on commit e1024c0

Please sign in to comment.