Skip to content

Commit 52e05d8

Browse files
authored
update README (#2)
1 parent a687f60 commit 52e05d8

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

README.md

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,37 +34,30 @@ which verify that the generated XML is a valid X-Rechnung.
3434

3535
## Usage
3636

37-
Binaries are currently published to GitHub Packages.
37+
Add Gallop to your project via [Maven Central](https://central.sonatype.com/artifact/de.codebarista/gallop):
3838

39-
### Use binaries from GitHub Packages
40-
41-
With Gradle, add the gallop GitHub Packages repository and the gallop dependency:
39+
**Gradle (Groovy DSL):**
4240

4341
```groovy
44-
repositories {
45-
maven {
46-
url = uri("https://maven.pkg.github.com/codebarista-de/gallop")
47-
credentials {
48-
username = "GITHUB_USERNAME"
49-
password = "GITHUB_TOKEN"
50-
}
51-
}
52-
}
53-
5442
dependencies {
55-
implementation 'de.codebarista:gallop:1.0.0'
43+
implementation 'de.codebarista:gallop:1.0.1'
5644
}
5745
```
5846

59-
Check out these instructions on authenticating to GitHub Packages.
47+
**Maven:**
6048

61-
Follow these instructions for
62-
[authenticating to GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#authenticating-to-github-packages).
49+
```xml
50+
51+
<dependency>
52+
<groupId>de.codebarista</groupId>
53+
<artifactId>gallop</artifactId>
54+
<version>1.0.1</version>
55+
</dependency>
56+
```
6357

6458
### Code example
6559

6660
```java
67-
6861
import de.codebarista.gallop.xrechnung.model.Invoice;
6962
import de.codebarista.gallop.xrechnung.model.Item;
7063
import de.codebarista.gallop.xrechnung.model.InvoiceNote;

0 commit comments

Comments
 (0)