From ce3a553336d4d8fbed2e671e93da909e34838871 Mon Sep 17 00:00:00 2001 From: object-Object Date: Sun, 5 May 2024 19:18:49 -0400 Subject: [PATCH] Add all Common sources to Fabric/Forge sources jars (fix #488) --- Fabric/build.gradle | 3 ++- Forge/build.gradle | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 1687865a8..d4384a44a 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -132,7 +132,8 @@ compileKotlin { } sourcesJar { - from project(":Common").sourceSets.main.allJava + // NOTE: Kotlin sources will not be remapped since Loom doesn't support it :/ + from project(":Common").sourceSets.main.allSource } sourceSets { diff --git a/Forge/build.gradle b/Forge/build.gradle index 05f0f9aff..54608306a 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -234,4 +234,8 @@ processResources { } } +sourcesJar { + from project(":Common").sourceSets.main.allSource +} + jar.finalizedBy('reobfJar') \ No newline at end of file