Skip to content

Commit 8b9be2a

Browse files
committed
change: Temporarily enable neoforge
1 parent 14f2bb1 commit 8b9be2a

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

1 MB
Binary file not shown.

neoforge/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,13 @@ tasks.named("compileTestJava").configure {
8181
dependencies {
8282
compileOnly(project(":common"))
8383
implementation("maven.modrinth:sodium:$SODIUM_VERSION-neoforge")
84+
implementation(files(rootDir.resolve("jars/net.caffeinemc.sodium-neoforge-0.7.3+mc1.21.10-mod.jar")))
8485
}
8586

8687
// NeoGradle compiles the game, but we don't want to add our common code to the game's code
87-
val notNeoTask: (Task) -> Boolean = { it: Task -> !it.name.startsWith("neo") && !it.name.startsWith("compileService") }
88+
val notNeoTask: (Task) -> Boolean = { it: Task ->
89+
!it.name.startsWith("neo") && !it.name.startsWith("compileService")
90+
}
8891

8992
tasks.withType<JavaCompile>().matching(notNeoTask).configureEach {
9093
source(project(":common").sourceSets.main.get().allSource)

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ pluginManagement {
1010

1111
include("common")
1212
include("fabric")
13-
//include("neoforge")
13+
include("neoforge")

0 commit comments

Comments
 (0)