Skip to content

Commit

Permalink
improve gremlin usage (#11)
Browse files Browse the repository at this point in the history
* add excludes and fix repo

* relocate gremlin

* more excludes
  • Loading branch information
jpenilla committed Oct 31, 2023
1 parent 9896b03 commit a11a8a2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ dependencies {
runtimeDownload(libs.h2)
}

configurations.runtimeDownload {
exclude("io.papermc.paper")
exclude("net.kyori", "adventure-api")
exclude("net.kyori", "adventure-text-minimessage")
exclude("net.kyori", "adventure-text-serializer-plain")
exclude("org.slf4j", "slf4j-api")
exclude("org.ow2.asm")
}

tasks {
runServer {
minecraftVersion("1.20.2")
Expand All @@ -47,6 +56,8 @@ tasks {
include(dependency(libs.gremlin.get().toString()))
}

relocate("xyz.jpenilla.gremlin", "broccolai.tags.lib.xyz.jpenilla.gremlin")

archiveFileName.set(project.name + ".jar")
}

Expand All @@ -58,7 +69,7 @@ tasks {
repos.set(listOf(
"https://repo.papermc.io/repository/maven-public/",
"https://repo.broccol.ai/releases",
"https://repo.jpenilla.xyz/snapshots/",
"https://oss.sonatype.org/content/repositories/snapshots/",
))
}
}
2 changes: 1 addition & 1 deletion bukkit/src/main/resources/paper-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name : Tags
version : $version
main : broccolai.tags.bukkit.BukkitTagsPlatform
loader: xyz.jpenilla.gremlin.runtime.platformsupport.DefaultsPaperPluginLoader
loader: broccolai.tags.lib.xyz.jpenilla.gremlin.runtime.platformsupport.DefaultsPaperPluginLoader
api-version : '1.20'
dependencies:
server:
Expand Down

0 comments on commit a11a8a2

Please sign in to comment.