Skip to content

Commit b11c6e3

Browse files
committed
Bump to OneConfig A70
1 parent 791b2dc commit b11c6e3

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/kotlin/org/polyfrost/example/client/ExampleClient.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object ExampleClient {
1010
@Mod.EventHandler
1111
fun initialize() {
1212
ExampleConfig.preload()
13-
CommandManager.registerCommand(ExampleCommand)
13+
CommandManager.register(ExampleCommand)
1414
}
1515

1616
}

src/main/kotlin/org/polyfrost/example/client/ExampleCommand.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import org.polyfrost.example.ExampleConstants
44
import org.polyfrost.oneconfig.api.commands.v1.factories.annotated.Command
55
import org.polyfrost.oneconfig.utils.v1.dsl.openUI
66

7-
@Command(value = [ExampleConstants.ID], description = "Access the ${ExampleConstants.NAME} GUI.")
7+
@Command(ExampleConstants.ID)
88
object ExampleCommand {
99

1010
@Command

0 commit comments

Comments
 (0)