Skip to content

Commit

Permalink
Merge pull request #3 from TathanDev/docs
Browse files Browse the repository at this point in the history
Small changes 💖
  • Loading branch information
TathanDev authored Jun 3, 2024
2 parents acf6449 + 984c1d2 commit e76bf1a
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions maven-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,47 @@ if you want to add Stellaris to your project, you can use gradle for it.

**Adding the repository**

```groovy
::: code-group

```groovy [gradle]
repositories {
maven {
name "Stellaris Maven"
url "https://maven.odysseyus.fr/releases"
}
}
```

```xml [maven]
<repository>
<id>odysseyus-maven</id>
<name>Odysseyus Maven</name>
<url>https://maven.odysseyus.fr/<repository></url>
</repository>
```

:::



**Adding Stellaris as dependency**

```groovy
::: code-group

```groovy [gradle]
dependencies {
implementation "com.st0x0ef:stellaris-{modloader}-{minecraft_version}:{stellaris_version}"
implementation "com.st0x0ef:stellaris-{modloader}-{minecraft_version}:{version}"
}
```

```xml [maven]
<dependency>
<groupId>com.st0x0ef</groupId>
<artifactId>stellaris-{modloader}-{minecraft_version}</artifactId>
<version>{stellaris_version}</version>
</dependency>

```

:::

0 comments on commit e76bf1a

Please sign in to comment.