Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
LichtHund committed Jul 7, 2024
1 parent a3de05c commit ba4f5f0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions triumph-gui/3_x_x/1-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@ dependencies {
}
```

In order to include the lib in your project, you need to add `shadowJar` plugin `build.gradle.kts`.
To include the lib in your project, you need to add `shadowJar` plugin `build.gradle.kts`.
Replace `[YOUR PACKAGE]` with your plugin's package, for example `me.myplugin.plugin`.

```kotlin
plugins {
id("com.github.johnrengelman.shadow") version "7.1.1"
plugins {
id("io.github.goooler.shadow") version "8.1.8"
}

shadowJar {
relocate("dev.triumphteam.gui", "[YOUR PACKAGE].gui")
}
```
+++

+Gradle (Groovy)+
You need to add the dependency to your `build.gradle`.

Expand All @@ -44,12 +43,12 @@ dependencies {
}
```

In order to include the lib in your project, you need to add `shadowJar` plugin `build.gradle`.
To include the lib in your project, you need to add `shadowJar` plugin `build.gradle`.
Replace `[YOUR PACKAGE]`with your plugin's package, for example `me.myplugin.plugin`.

```groovy
plugins {
id "com.github.johnrengelman.shadow" version "7.1.1"
id "io.github.goooler.shadow" version "8.1.8"
}
shadowJar {
Expand All @@ -69,14 +68,14 @@ You need to add the dependency to your pom.xml.
</dependency>
```

In order to include the framework in your project, you need to add the following to your `pom.xml`, in the plugins section.
To include the framework in your project, you need to add the following to your `pom.xml`, in the plugins section.
Replace `[YOUR PACKAGE]`with your plugin's package, for example `me.myplugin.plugin`.

```xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.6.0</version>
<configuration>
<relocations>
<relocation>
Expand Down

0 comments on commit ba4f5f0

Please sign in to comment.