User: kyle wood Date: 18 Oct 22 00:00 Revision: f9f2da3c67b73c8d265f9dc3bf3e6f14e84e5f17 Summary: Remove fuel-json, fix code format issue I forgot I never actually used fuel-json. TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8167&personal=false Index: gradle/libs.versions.toml =================================================================== --- gradle/libs.versions.toml (revision 1adc227fe44e87347ef414d449b45b3d23e8082b) +++ gradle/libs.versions.toml (revision f9f2da3c67b73c8d265f9dc3bf3e6f14e84e5f17) @@ -27,7 +27,6 @@ asm-analysis = { module = "org.ow2.asm:asm-analysis", version.ref = "asm" } fuel = { module = "com.github.kittinunf.fuel:fuel", version.ref = "fuel" } -fuel-json = { module = "com.github.kittinunf.fuel:fuel-json", version.ref = "fuel" } fuel-coroutines = { module = "com.github.kittinunf.fuel:fuel-coroutines", version.ref = "fuel" } # Testing @@ -42,4 +41,4 @@ [bundles] coroutines = ["coroutines-core", "coroutines-jdk8", "coroutines-swing"] asm = ["asm", "asm-tree", "asm-analysis"] -fuel = ["fuel", "fuel-json", "fuel-coroutines"] +fuel = ["fuel", "fuel-coroutines"] Index: src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt =================================================================== --- src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt (revision 1adc227fe44e87347ef414d449b45b3d23e8082b) +++ src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt (revision f9f2da3c67b73c8d265f9dc3bf3e6f14e84e5f17) @@ -27,7 +27,8 @@ fun getArchitecturyVersions(mcVersion: SemanticVersion): List { return try { - val architecturyVersions = versions[mcVersion] ?: throw IOException("Could not find any architectury versions for $mcVersion") + val architecturyVersions = versions[mcVersion] + ?: throw IOException("Could not find any architectury versions for $mcVersion") architecturyVersions.take(50) } catch (e: IOException) { e.printStackTrace() @@ -40,7 +41,6 @@ val versionNumber: String, @SerializedName("game_versions") val gameVersions: List, - val loaders: List, ) companion object {