This library contains general utilities for java to make my life a little easier...
repositories {
maven { url = uri("https://repo.ender.tv/public") }
}
dependencies {
implementation("tv.ender:Code:1.0.0")
}
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
}
shadowJar {
relocate("tv.ender.lib", "YOUR PACKAGE WHERE THE LIB SHOULD END UP")
}
build {
dependsOn(shadowJar)
}
<repository>
<id>ender-public</id>
<name>Ender's Repo</name>
<url>https://repo.ender.tv/public</url>
</repository>
<dependency>
<groupId>tv.ender</groupId>
<artifactId>Code</artifactId>
<version>1.0.0</version>
</dependency>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>tv.ender.lib</pattern>
<shadedPattern>YOUR PACKAGE WHERE THE LIB SHOULD END UP</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
<!-- And so on -->
</plugins>