mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Relocate dependencies and improve WG hook
This commit is contained in:
1 parent
3f5c267b6f
commit
12413b4cd4
2 files changed
+34
-25
No files matched your search
@@ -33,4 +33,14 @@ tasks.build.dependsOn tasks.shadowJar
|
||||
|
||||
shadowJar {
|
||||
minimize()
|
||||
}
|
||||
}
|
||||
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
|
||||
|
||||
task relocateShadowJar(type: ConfigureShadowRelocation) {
|
||||
target = tasks.shadowJar
|
||||
prefix = "net.draycia.carbon.libs" // Default value is "shadow"
|
||||
|
||||
}
|
||||
|
||||
tasks.shadowJar.dependsOn tasks.relocateShadowJar
|
||||
Reference in new issue
Block a user