aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com>2024-07-10 22:10:19 -0400
committerILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com>2024-07-10 22:10:19 -0400
commit661d340944f433b49b7298343ba39451bf5e78c1 (patch)
tree363029ae5fc3e25e4af9f7a1c836a3ad712e936e /build.gradle
parent3a60715b57d9af5ad63d20465504214979a7c85d (diff)
downloadHyPixelForgeModAPI-661d340944f433b49b7298343ba39451bf5e78c1.tar.gz
HyPixelForgeModAPI-661d340944f433b49b7298343ba39451bf5e78c1.tar.bz2
HyPixelForgeModAPI-661d340944f433b49b7298343ba39451bf5e78c1.zip
Various buildscript improvements
- 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-xbuild.gradle7
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 {