diff options
author | inglettronald <inglettronald@gmail.com> | 2023-06-09 18:38:24 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-06-09 18:38:24 -0500 |
commit | 480f3cc93b3b77aa53225b3d65a5eb30de81bc30 (patch) | |
tree | 143020f565a3d28fac9d8f766aa8b59f032fa14c /build.gradle | |
parent | c0eb625a9b937bcb9256e98afb80d32443daa795 (diff) | |
download | DulkirMod-Fabric-480f3cc93b3b77aa53225b3d65a5eb30de81bc30.tar.gz DulkirMod-Fabric-480f3cc93b3b77aa53225b3d65a5eb30de81bc30.tar.bz2 DulkirMod-Fabric-480f3cc93b3b77aa53225b3d65a5eb30de81bc30.zip |
Some event stuff
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 17e04d5..7639896 100644 --- a/build.gradle +++ b/build.gradle @@ -28,6 +28,23 @@ repositories { } maven { url "https://maven.shedaniel.me/" } maven { url "https://maven.terraformersmc.com/releases/" } + + ivy { + url "https://github.com/HotswapProjects/HotswapAgent/releases/download%22" + patternLayout { + artifact("[revision]/[artifact]-[revision].[ext]") + } + content { + includeGroup("virtual.github.hotswapagent") + } + metadataSources { + artifact() + } + } +} + +configurations { + hotswap } dependencies { @@ -42,6 +59,20 @@ dependencies { modApi "me.shedaniel.cloth:cloth-config-fabric:11.0.99" } +loom { + runs { + removeIf { it.name != "client" } + named("client") { + property("devauth.enabled", "true") + property("fabric.log.level", "info") + vmArg("-ea") + vmArg("-XX:+AllowEnhancedClassRedefinition") + vmArg("-XX:HotswapAgent=external") + vmArg("-javaagent:${configurations.hotswap.resolve().single().absolutePath}") + } + } +} + processResources { inputs.property "version", project.version |