Skip to content

Commit 1cbc6a7

Browse files
committed
build: Use MDG instead of loom for common
1 parent 324438a commit 1cbc6a7

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

cloud-fabric/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ dependencies {
4141
modCompileOnly(libs.adventureFabric)
4242

4343
offlineLinkedJavadoc(project(":cloud-minecraft-modded-common"))
44-
localRuntime(project(":cloud-minecraft-modded-common", configuration = "namedElements"))
45-
compileOnly(project(":cloud-minecraft-modded-common", configuration = "namedElements"))
44+
localRuntime(project(":cloud-minecraft-modded-common"))
45+
compileOnly(project(":cloud-minecraft-modded-common"))
4646
api(project(":cloud-minecraft-modded-common-fabric-repack", configuration = "namedElements"))
4747
include(project(":cloud-minecraft-modded-common-fabric-repack"))
4848

cloud-minecraft-modded-common/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import net.fabricmc.loom.task.AbstractRemapJarTask
33
plugins {
44
id("conventions.base")
55
id("conventions.publishing")
6-
id("quiet-fabric-loom")
6+
id("net.neoforged.moddev")
77
id("conventions.common-dependencies")
88
}
99

10-
dependencies {
11-
minecraft(libs.minecraft)
12-
mappings(loom.officialMojangMappings())
13-
compileOnly(libs.fabricLoader)
10+
neoForge {
11+
enable {
12+
neoFormVersion = libs.versions.neoform.get()
13+
}
1414
}
1515

1616
tasks.withType(AbstractRemapJarTask::class).configureEach {

cloud-neoforge/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies {
3636
api(platform(libs.cloud.minecraft.bom))
3737
api(libs.cloud.brigadier)
3838
offlineLinkedJavadoc(project(":cloud-minecraft-modded-common"))
39-
api(project(":cloud-minecraft-modded-common", configuration = "namedElements"))
39+
api(project(":cloud-minecraft-modded-common"))
4040

4141
jarJar(project(":cloud-minecraft-modded-common"))
4242
jarJar(libs.cloud.brigadier)

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fabricLoader = "0.16.9"
1616
fabricApi = "0.110.0+1.21.3"
1717
fabricPermissionsApi = "0.3.3"
1818
neoforge = "21.3.56"
19+
neoform = "1.21.3-20241023.131943"
1920

2021
[libraries]
2122
cloud-build-logic = { module = "org.incendo:cloud-build-logic", version.ref = "cloud-build-logic" }

0 commit comments

Comments
 (0)