diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 1687865a80..d4384a44aa 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 05f0f9affb..54608306ac 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