diff options
author | ILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com> | 2024-07-31 06:55:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-31 11:55:08 +0100 |
commit | d68bf1c7b51e0d6335f9439818e6effd5f9ae501 (patch) | |
tree | bb2823ef29c1745a5c800897849545947810fadb /build.gradle | |
parent | 3a60715b57d9af5ad63d20465504214979a7c85d (diff) | |
download | HyPixelForgeModAPI-d68bf1c7b51e0d6335f9439818e6effd5f9ae501.tar.gz HyPixelForgeModAPI-d68bf1c7b51e0d6335f9439818e6effd5f9ae501.tar.bz2 HyPixelForgeModAPI-d68bf1c7b51e0d6335f9439818e6effd5f9ae501.zip |
Various build script improvements (#6)
- Add DevAuth for logging into online mode servers (disabled by default)
- Fill in mod version during build in ForgeModAPI.java
- Fix gradle running out of memory during `gradlew setupDecompWorkspace`
- Add some development tips to README.md
- Change logging to log4j in ForgeModAPI.java
Diffstat (limited to 'build.gradle')
-rwxr-xr-x | build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index b6ba6fd..e198753 100755 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,9 @@ repositories { maven { url "https://repo.hypixel.net/repository/Hypixel/" } + maven { + url "https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1" + } mavenLocal() } @@ -31,6 +34,9 @@ minecraft { runDir = "run" mappings = "stable_22" + + replace('${version}', project.version) + replaceIn("ForgeModAPI.java") } configurations { @@ -40,6 +46,7 @@ configurations { dependencies { shade "net.hypixel:mod-api:1.0" + runtimeOnly "me.djtheredstoner:DevAuth-forge-legacy:1.2.1" } jar { |