Skip to content

Commit

Permalink
Revert "Unimined snapshot"
Browse files Browse the repository at this point in the history
This reverts commit d3d22ca.
  • Loading branch information
Gaming32 committed Jul 8, 2024
1 parent 8b8b2fa commit 5d65aa6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("io.github.gaming32.gradle.preprocess-root") version "0.4.4"
id("xyz.wagyourtail.unimined") version "1.3.0-SNAPSHOT" apply false
id("xyz.wagyourtail.unimined") version "1.2.14" apply false
}

repositories {
Expand Down
20 changes: 9 additions & 11 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,15 @@ unimined.minecraft {
val runName = "test${name.capitalized()}"
val user = name.uppercase()
val provider = (minecraftData as MinecraftDownloader).provider
provider.provideRunClientTask(runName, file("run/$runName"))
configFirst(runName) {
description = "Test $user"
args!!.replaceAll { if (it == "Dev") "$user$usernameSuffix" else it }
jvmArgs = jvmArgs!!.toList() + listOf(
"-Dworld-host-testing.enabled=true",
"-Dworld-host-testing.user=$user",
"-Ddevauth.enabled=false"
)
javaVersion = JavaVersion.VERSION_21
}
val baseConfig = provider.provideVanillaRunClientTask(runName, file("run/$runName"))
baseConfig.description = "Test $user"
baseConfig.args.replaceAll { if (it == "Dev") "$user$usernameSuffix" else it }
baseConfig.jvmArgs.add("-Dworld-host-testing.enabled=true")
baseConfig.jvmArgs.add("-Dworld-host-testing.user=$user")
baseConfig.jvmArgs.add("-Ddevauth.enabled=false")
baseConfig.javaVersion = JavaVersion.VERSION_21
runs.addTarget(baseConfig)
runs.configFirst(runName, (provider.mcPatcher as AbstractMinecraftTransformer)::applyClientRunTransform)
}
}
}
Expand Down

0 comments on commit 5d65aa6

Please sign in to comment.