Skip to content

Commit

Permalink
Add all Common sources to Fabric/Forge sources jars (fix #488)
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed May 5, 2024
1 parent f569ba1 commit b992cf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,9 @@ processResources {
}
}

sourcesJar {
from project(":Common").sourceSets.main.allSource
}

jar.finalizedBy('reobfJar')
setupJar(this)

0 comments on commit b992cf7

Please sign in to comment.