Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Jun 16, 2024
1 parent 5b9ce49 commit 60ef3d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle
run: ./gradlew clean build
run: ./gradlew clean shadowJar

- name: Stage jar
run: mkdir staging && cp modules/Movecraft/build/libs/Movecraft.jar staging && mv staging/Movecraft.jar staging/Movecraft_$GITHUB_SHA.jar
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Please check the [Wiki](https://github.com/APDevTeam/Movecraft/wiki) and [FAQ](h
## Development Environment
Building Movecraft is as easy as downloading the source code and executing the following command:
```
./gradlew clean build
./gradlew clean shadowJar
```
Compiled jars can be found in the `modules/Movecraft/build/libs` directory.

Expand Down
7 changes: 1 addition & 6 deletions modules/Movecraft/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ tasks.shadowJar {
archiveVersion.set("")

dependencies {
include(project(":movecraft-api"))
include(project(":movecraft-v1_18"))
include(project(":movecraft-v1_20"))
include(project(":movecraft-datapack"))
Expand All @@ -36,12 +37,6 @@ tasks.shadowJar {
relocate("it.unimi", "net.countercraft.movecraft.libs.it.unimi")
relocate("net.kyori", "net.countercraft.movecraft.libs.net.kyori")
relocate("org.roaringbitmap", "net.countercraft.movecraft.libs.org.roaringbitmap")

minimize()
}

tasks.build {
dependsOn(tasks.shadowJar)
}

description = "Movecraft"

0 comments on commit 60ef3d1

Please sign in to comment.