File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import org.eclipse.jgit.api.Git
88plugins {
99 java
1010 `maven- publish`
11- id(" dev.architectury.loom " ) // Version declared in buildSrc
11+ id(" band.kessoku.koom " ) // Version declared in buildSrc
1212 id(" me.modmuss50.mod-publish-plugin" ) version " 0.5.+"
1313}
1414
@@ -71,7 +71,7 @@ allprojects {
7171 }
7272
7373 apply (plugin = " java-library" )
74- apply (plugin = " dev.architectury.loom " )
74+ apply (plugin = " band.kessoku.koom " )
7575
7676 loom.silentMojangMappingsLicense()
7777
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ repositories {
2525 name = " Architectury"
2626 url = uri(" https://maven.architectury.dev/" )
2727 }
28+ maven {
29+ name = " KessokuTeaTime"
30+ url = uri(" https://maven.kessokuteatime.work/releases" )
31+ }
2832}
2933
3034dependencies {
31- implementation(" dev.architectury:architectury-loom :1.11 -SNAPSHOT" )
35+ implementation(" band.kessoku:koom :1.13 -SNAPSHOT" )
3236
3337 implementation(" net.fabricmc:fabric-loader:0.16.9" )
3438
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import com.google.gson.JsonParser
22import com.moandjiezana.toml.TomlWriter
33import dev.architectury.at.AccessTransformSet
44import dev.architectury.at.io.AccessTransformFormats
5+ import dev.architectury.loom.accesstransformer.Aw2At
6+ import dev.architectury.loom.util.LfWriter
57import net.fabricmc.loom.api.LoomGradleExtensionAPI
6- import net.fabricmc.loom.util.LfWriter
7- import net.fabricmc.loom.util.aw2at.Aw2At
88import kotlin.io.path.*
99
1010val versionMcCompat: String by rootProject
@@ -168,7 +168,7 @@ abstract class GenerateForgeModMetadata : DefaultTask() {
168168 " BOTH"
169169 )
170170 ) + modDependencies
171- val displayTest = when (json.get(" environment" )?.asString) {
171+ val displayTest = when (json.get(" environment" )?.asString) {
172172 " client" -> " IGNORE_ALL_VERSION"
173173 " server" -> " IGNORE_SERVER_VERSION"
174174 else -> null
@@ -235,7 +235,7 @@ abstract class GenerateForgeModMetadata : DefaultTask() {
235235 val at = AccessTransformSet .create()
236236 awPath.bufferedReader().use { at.merge(Aw2At .toAccessTransformSet(it)) }
237237
238- LfWriter (atPath.bufferedWriter()).use { AccessTransformFormats .FML .write(it, at) }
238+ LfWriter (atPath.bufferedWriter()).use { AccessTransformFormats .FML .write(it, at) }
239239 }
240240 }
241241}
You can’t perform that action at this time.
0 commit comments