Skip to content

Commit 6a8318c

Browse files
committed
update to 1.19.2
1 parent 2ab62df commit 6a8318c

File tree

8 files changed

+32
-18
lines changed

8 files changed

+32
-18
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ minecraft {
3434
//
3535
// Use non-default mappings at your own risk. they may not always work.
3636
// Simply re-run your setup task after changing the mappings to update your workspace.
37-
mappings channel: 'official', version: '1.19'
37+
mappings channel: 'official', version: '1.19.2'
3838
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
3939

4040
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
@@ -120,7 +120,7 @@ dependencies {
120120
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
121121
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
122122
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
123-
minecraft 'net.minecraftforge:forge:1.19-41.0.98'
123+
minecraft 'net.minecraftforge:forge:1.19.2-43.1.3'
124124

125125
// You may put jars on which you depend on in ./libs or you may define them like so..
126126
// compile "some.group:artifact:version:classifier"

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This is required to provide enough memory for the Minecraft decompilation process.
33
org.gradle.jvmargs=-Xmx3G
44
org.gradle.daemon=false
5-
modVersion=1.5.1
5+
modVersion=1.6.1
66
modName=crossbowverhaul
7-
mcVersion=1.19
7+
mcVersion=1.19.2
88

99
#Mixin
1010
mixingradle_version = 0.7-SNAPSHOT

gradle/wrapper/gradle-wrapper.jar

935 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015-2021 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -32,10 +32,10 @@
3232
# Busybox and similar reduced shells will NOT work, because this script
3333
# requires all of these POSIX shell features:
3434
# * functions;
35-
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36-
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37-
# * compound commands having a testable exit status, especially «case»;
38-
# * various built-in commands including «command», «set», and «ulimit».
35+
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36+
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37+
# * compound commands having a testable exit status, especially «case»;
38+
# * various built-in commands including «command», «set», and «ulimit».
3939
#
4040
# Important for patching:
4141
#
@@ -205,6 +205,12 @@ set -- \
205205
org.gradle.wrapper.GradleWrapperMain \
206206
"$@"
207207

208+
# Stop when "xargs" is not available.
209+
if ! command -v xargs >/dev/null 2>&1
210+
then
211+
die "xargs is not available"
212+
fi
213+
208214
# Use "xargs" to parse quoted args.
209215
#
210216
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

gradlew.bat

+8-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%" == "" @echo off
17+
@if "%DEBUG%"=="" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,7 +25,7 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%" == "" set DIRNAME=.
28+
if "%DIRNAME%"=="" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
43+
if %ERRORLEVEL% equ 0 goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7575

7676
:end
7777
@rem End local scope for the variables with windows NT shell
78-
if "%ERRORLEVEL%"=="0" goto mainEnd
78+
if %ERRORLEVEL% equ 0 goto mainEnd
7979

8080
:fail
8181
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8282
rem the _cmd.exe /c_ return code!
83-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-
exit /b 1
83+
set EXIT_CODE=%ERRORLEVEL%
84+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
85+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
86+
exit /b %EXIT_CODE%
8587

8688
:mainEnd
8789
if "%OS%"=="Windows_NT" endlocal

settings.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pluginManagement {
2+
repositories {
3+
gradlePluginPortal()
4+
maven { url = 'https://maven.minecraftforge.net/' }
5+
}
6+
}

src/main/resources/META-INF/mods.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This is a replacer for the vanilla crossbow
3232
# Does this dependency have to exist - if not, ordering below must be specified
3333
mandatory=true #mandatory
3434
# The version range of the dependency
35-
versionRange="[41,)" #mandatory
35+
versionRange="[43,)" #mandatory
3636
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
3737
ordering="AFTER"
3838
# Side this dependency is applied on - BOTH, CLIENT or SERVER
@@ -42,6 +42,6 @@ This is a replacer for the vanilla crossbow
4242
modId="minecraft"
4343
mandatory=true
4444
# This version range declares a minimum of the current minecraft version up to but not including the next major version
45-
versionRange="[1.19,1.19.1)"
45+
versionRange="[1.19.2,1.19.3)"
4646
ordering="AFTER"
4747
side="BOTH"

0 commit comments

Comments
 (0)