mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-09-29 23:40:46 +00:00
9b3cadf57c
The main purpose of this is to backport the improved parse/runtime errors to older versions. I think they're sufficiently useful that we should try to make it as widely available as possible. We've been running them for a week now on SC3 and the released version and not seen any issues, so I think it's probably stable enough. This is a pretty lazy commit: I ended up copying the whole ROM over and then picking up a few other related changes along the way. - Trim spaces from file paths (b8fce1eecc
) - Correctly format 12AM/PM with %I (9f48395596
) - Fix http.request and htpt.websocketAsync not handling a few failure edge-cases correctly (3b42f22a4f
). - Move the internal modules into the main package path, hidden under cc.internal (34a31abd9c
). - Gather code coverage in Java instead of Lua (28a55349a9
). - Make error messages in edit more obvious (8cfbfe7ceb
). - Make mcfly's test methods global. This means we don't need to pass stub everywhere (7335a892b5
). - Improve runtime and parse errors. This comes from numerous commits, but chieflya12b405acf
, and5502412181
. - Hide the internal redirect methods in multishell (33b6f38339
). Note this does /not/ include the shebang changes (sorry Emma!). I've tried to avoid adding any user-controllable features, mostly because I don't know how to handle the versioning otherwise :).
72 lines
3.0 KiB
TOML
72 lines
3.0 KiB
TOML
[versions]
|
|
|
|
# Minecraft
|
|
# MC version is specified in gradle.properties, as we need that in settings.gradle.
|
|
forge = "36.2.34"
|
|
parchment = "2021.08.08"
|
|
parchmentMc = "1.16.5"
|
|
|
|
autoService = "1.0.1"
|
|
cobalt = "0.6.0"
|
|
jetbrainsAnnotations = "23.0.0"
|
|
kotlin = "1.7.10"
|
|
kotlin-coroutines = "1.6.0"
|
|
|
|
# Testing
|
|
hamcrest = "2.2"
|
|
jqwik = "1.7.0"
|
|
junit = "5.9.1"
|
|
|
|
# Build tools
|
|
cctJavadoc = "1.5.2"
|
|
checkstyle = "8.25" # There's a reason we're pinned on an ancient version, but I can't remember what it is.
|
|
curseForgeGradle = "1.0.11"
|
|
forgeGradle = "5.1.+"
|
|
githubRelease = "2.2.12"
|
|
illuaminate = "0.1.0-20-g8c483a4"
|
|
librarian = "1.+"
|
|
minotaur = "2.+"
|
|
mixinGradle = "0.7.+"
|
|
shadow = "7.1.2"
|
|
spotless = "6.8.0"
|
|
taskTree = "2.1.0"
|
|
|
|
[libraries]
|
|
autoService = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
|
|
cobalt = { module = "org.squiddev:Cobalt", version.ref = "cobalt" }
|
|
jetbrainsAnnotations = { module = "org.jetbrains:annotations", version.ref = "jetbrainsAnnotations" }
|
|
kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlin-coroutines" }
|
|
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
|
|
|
|
# Testing
|
|
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
|
|
jqwik-api = { module = "net.jqwik:jqwik-api", version.ref = "jqwik" }
|
|
jqwik-engine = { module = "net.jqwik:jqwik-engine", version.ref = "jqwik" }
|
|
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
|
|
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
|
|
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
|
|
|
|
# Build tools
|
|
cctJavadoc = { module = "cc.tweaked:cct-javadoc", version.ref = "cctJavadoc" }
|
|
checkstyle = { module = "com.puppycrawl.tools:checkstyle", version.ref = "checkstyle" }
|
|
kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
|
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" }
|
|
|
|
[plugins]
|
|
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
|
taskTree = { id = "com.dorongold.task-tree", version.ref = "taskTree" }
|
|
curseForgeGradle = { id = "net.darkhax.curseforgegradle", version.ref = "curseForgeGradle" }
|
|
mixinGradle = { id = "org.spongepowered.mixin", version.ref = "mixinGradle" }
|
|
minotaur = { id = "com.modrinth.minotaur", version.ref = "minotaur" }
|
|
githubRelease = { id = "com.github.breadmoirai.github-release", version.ref = "githubRelease" }
|
|
forgeGradle = { id = "net.minecraftforge.gradle", version.ref = "forgeGradle" }
|
|
librarian = { id = "org.parchmentmc.librarian.forgegradle", version.ref = "librarian" }
|
|
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
|
|
|
|
[bundles]
|
|
kotlin = ["kotlin-stdlib", "kotlin-coroutines"]
|
|
|
|
# Testing
|
|
test = ["junit-jupiter-api", "junit-jupiter-params", "hamcrest", "jqwik-api"]
|
|
testRuntime = ["junit-jupiter-engine", "jqwik-engine"]
|