Skip to content

Commit

Permalink
fix: warning about slimjar and semi-fix for building
Browse files Browse the repository at this point in the history
Signed-off-by: Thatsmusic99 <25277367+thatsmusic99@users.noreply.github.com>
  • Loading branch information
Thatsmusic99 committed Aug 8, 2023
1 parent 8822285 commit 16da2fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AdvancedTeleport-Bukkit/build.gradle.kts
Expand Up @@ -189,6 +189,10 @@ tasks {
}
}

tasks.shadowJar {
from(tasks.slimJar.get().outputDirectory)
}

// Lead development use only.
modrinth {
token.set(System.getenv("MODRINTH_TOKEN"))
Expand Down
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -24,5 +24,7 @@ Advanced Teleport is a rapidly growing plugin that is not only increasing sharpl
## Installation/Cloning
As of currently, Advanced Teleport uses Gradle to manage its dependencies.

The Gradle command used to build the plugin is `gradle shadowJar` and is done under the AdvancedTeleport-Bukkit module.
The Gradle command used to build the plugin is `gradle slimJar` and is done under the AdvancedTeleport-Bukkit module.

> NOTE: Due to a bug with SlimJar you should try building twice when updating dependencies or building for the first time, or necessary files will not be installed.

0 comments on commit 16da2fc

Please sign in to comment.