Skip to content

Commit 86b078c

Browse files
committed
Bump to OneConfig A70
1 parent d9fc567 commit 86b078c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import dev.deftu.gradle.utils.GameSide
55
plugins {
66
java
77
kotlin("jvm") version("2.0.0")
8-
val dgtVersion = "2.22.0"
8+
val dgtVersion = "2.27.1"
99
id("dev.deftu.gradle.tools") version(dgtVersion) // Applies several configurations to things such as the Java version, project name/version, etc.
1010
id("dev.deftu.gradle.tools.resources") version(dgtVersion) // Applies resource processing so that we can replace tokens, such as our mod name/version, in our resources.
1111
id("dev.deftu.gradle.tools.bloom") version(dgtVersion) // Applies the Bloom plugin, which allows us to replace tokens in our source files, such as being able to use `@MOD_VERSION` in our source files.
@@ -16,7 +16,7 @@ plugins {
1616

1717
toolkitLoomHelper {
1818
useOneConfig {
19-
version = "1.0.0-alpha.58"
19+
version = "1.0.0-alpha.70"
2020
loaderVersion = "1.1.0-alpha.44"
2121

2222
usePolyMixin = true

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

src/main/java/org/polyfrost/example/client/ExampleClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public ExampleClient() {
1414
@Override
1515
public void onInitializeClient() {
1616
ExampleConfig.INSTANCE.preload();
17-
CommandManager.registerCommand(new ExampleCommand());
17+
CommandManager.register(new ExampleCommand());
1818
}
1919

2020
}

src/main/java/org/polyfrost/example/client/ExampleCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @see Command
1212
* @see ExampleClient
1313
*/
14-
@Command(value = ExampleConstants.ID, description = "Access the " + ExampleConstants.NAME + " GUI.")
14+
@Command(ExampleConstants.ID)
1515
public class ExampleCommand {
1616

1717
@Command

0 commit comments

Comments
 (0)