mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Misc cleanup and improvements
This commit is contained in:
1 parent
fe4e84d375
commit
1d0fa05a46
15 files changed
+246
-58
No files matched your search
@@ -11,6 +11,13 @@ fun ShadowJar.relocateDependency(pkg: String) {
|
||||
relocate(pkg, "net.draycia.carbon.libs.$pkg")
|
||||
}
|
||||
|
||||
fun ShadowJar.relocateNatives() {
|
||||
relocate("darwin", "natives/darwin")
|
||||
relocate("freebsd", "natives/freebsd")
|
||||
relocate("linux", "natives/linux")
|
||||
relocate("win", "natives/win")
|
||||
}
|
||||
|
||||
/**
|
||||
* Relocates dependencies which we bundle and relocate on all platforms.
|
||||
*/
|
||||
@@ -25,6 +32,7 @@ fun ShadowJar.standardRelocations() {
|
||||
relocateDependency("com.google.common")
|
||||
relocateDependency("com.google.thirdparty.publicsuffix")
|
||||
relocateDependency("com.google.protobuf")
|
||||
relocateDependency("google.protobuf")
|
||||
//relocateDependency("it.unimi.dsi.fastutil")
|
||||
relocateDependency("org.jdbi")
|
||||
relocateDependency("com.github.benmanes")
|
||||
@@ -42,6 +50,9 @@ fun ShadowJar.standardRelocations() {
|
||||
//relocateDependency("io.netty")
|
||||
relocateDependency("io.nats")
|
||||
relocateDependency("com.rabbitmq")
|
||||
relocateDependency("com.electronwill")
|
||||
|
||||
relocateNatives();
|
||||
}
|
||||
|
||||
fun ShadowJar.relocateCloud() {
|
||||
|
||||
Reference in new issue
Block a user