Skip to content

Commit

Permalink
Move Fabric mod into subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
bytzo committed Oct 19, 2024
1 parent c1d0b4e commit c9814f3
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gradle-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build_info.outputs.repository_name }}-build-artifacts-${{ steps.build_info.outputs.sha_short }}
path: build/libs/
path: |
fabric-mod/build/libs/
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
build/

# Loom
/run/
run/
File renamed without changes.
7 changes: 6 additions & 1 deletion build.gradle.kts → fabric-mod/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ java {

loom {
serverOnlyMinecraftJar()

runs.configureEach {
ideConfigGenerated(true)
}
}

tasks.named<Jar>("jar") {
from("LICENSE")
base.archivesName = "${rootProject.name}-${base.archivesName.get()}"
from(rootDir.toPath().resolve("LICENSE.txt"))
}
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ pluginManagement {
}

rootProject.name = "sessility"

include(":fabric-mod")

0 comments on commit c9814f3

Please sign in to comment.