diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 8597c8b0a..27154a1a6 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -121,7 +121,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 04e1d810b..ac3b2ae5b 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -210,5 +210,9 @@ processResources { } } +sourcesJar { + from project(":Common").sourceSets.main.allSource +} + jar.finalizedBy('reobfJar') setupJar(this)