Skip to content

Commit eec14a2

Browse files
committed
Fix API classes not getting included in output
1 parent 394a76a commit eec14a2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci-tests-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
change_path: "forge-api/ forge-main/"
4646
version_format: "${major}.${minor}.${patch}.${increment}-nightly"
4747
search_commit_body: true
48+
bump_each_commit: true
4849

4950
- name: Read MC and Forge versions
5051
id: gradle_props

forge-main/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ reobf {
190190
}
191191

192192
tasks.withType<Jar> {
193+
// TODO - Switch to API jar when JarInJar supports it better
194+
val api = project(":forge-api").tasks.jar.get().archiveFile;
195+
from(api.map { zipTree(it) })
196+
193197
manifest {
194198
val now = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").format(Date())
195199
attributes(mapOf(

0 commit comments

Comments
 (0)