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 efc8899 commit ce3a553
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 @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,8 @@ processResources {
}
}

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

jar.finalizedBy('reobfJar')

0 comments on commit ce3a553

Please sign in to comment.