Skip to content

Commit

Permalink
switch to kotlin-lang-forge
Browse files Browse the repository at this point in the history
  • Loading branch information
btwonion committed Oct 19, 2024
1 parent abf1627 commit 12c1cc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
13 changes: 4 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ dependencies {
modImplementation("net.fabricmc:fabric-language-kotlin:$flk")
modImplementation("com.terraformersmc:modmenu:$modmenu")
} else {
implementation(libs.kotlinx.datetime)
include(libs.kotlinx.datetime)
"neoForge"("net.neoforged:neoforge:${property("vers.deps.fml")}")
implementation("thedarkcolour:kotlinforforge-neoforge:${property("vers.deps.kff")}")
modImplementation("dev.nyon:KotlinLangForge:1.0.3-k${libs.versions.kotlin.orNull}-$mcVersion+${loader.name.lowercase()}")
}

modCompileOnly("dev.isxander:yet-another-config-lib:$yaclVersion")
Expand Down Expand Up @@ -111,10 +109,7 @@ tasks {

props.forEach(inputs::property)

(if (isFabric) listOf("fabric.mod.json") else listOf(
"META-INF/mods.toml",
"META-INF/neoforge.mods.toml"
)).forEach { filesMatching(it) { expand(props) } }
filesMatching(if (isFabric) "fabric.mod.json" else "META-INF/neoforge.mods.toml") { expand(props) }
}

register("releaseMod") {
Expand Down Expand Up @@ -162,10 +157,10 @@ publishMods {
requires { slug = "fabric-language-kotlin" }
optional { slug = "modmenu" }
} else {
requires { slug = "kotlin-for-forge" }
requires { slug = "kotlin-lang-forge" }
}

requires { slug = "yacl" }
optional { slug = "yacl" }
}

github {
Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- update to 1.21.2
- only suggest yacl from now on
- only suggest yacl from now on
- switch to kotlin-lang-forge
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modLoader = "kotlinforforge"
modLoader = "klf"
loaderVersion = "[1,)"
license = "GNU General Public License v3.0"
license = "GPLv3"

issueTrackerURL = "https://github.com/${repo}/issues"

Expand Down

0 comments on commit 12c1cc9

Please sign in to comment.